summaryrefslogtreecommitdiff
path: root/examples/performance/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/performance/__main__.py')
-rw-r--r--examples/performance/__main__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/performance/__main__.py b/examples/performance/__main__.py
new file mode 100644
index 000000000..5e05143bf
--- /dev/null
+++ b/examples/performance/__main__.py
@@ -0,0 +1,7 @@
+"""Allows the examples/performance package to be run as a script."""
+
+from . import Profiler
+
+if __name__ == '__main__':
+ Profiler.main()
+