summaryrefslogtreecommitdiff
path: root/examples/performance/__main__.py
diff options
context:
space:
mode:
authorSławek Ehlert <slafs@op.pl>2015-01-27 22:04:38 +0100
committerSławek Ehlert <slafs@op.pl>2015-01-27 22:04:38 +0100
commit57b2bd5dcba6140b511c898c0f682234f13d5c51 (patch)
treea0899b2a35d27e177001b163054c3c9a8f7f1c06 /examples/performance/__main__.py
parent6a1f16d09958e549502a0991890d64964c71b357 (diff)
parent8aaa8dd6bdfb85fa481efa3115b9080d935d344c (diff)
downloadsqlalchemy-pr/152.tar.gz
Merge branch 'master' into oracle-servicename-optionpr/152
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()
+