summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-12-08 01:10:30 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-12-08 01:10:30 -0500
commit3f1477e2ecf3b2e95a26383490d0e8c363f4d0cc (patch)
treecd129e8943da5cbb8d1429413ac1303b76425426 /examples
parent5ed7a9672a4c143f111a15f26dfce4bc80547b6f (diff)
downloadsqlalchemy-3f1477e2ecf3b2e95a26383490d0e8c363f4d0cc.tar.gz
- A new series of :class:`.Session` methods which provide hooks
directly into the unit of work's facility for emitting INSERT and UPDATE statements has been created. When used correctly, this expert-oriented system can allow ORM-mappings to be used to generate bulk insert and update statements batched into executemany groups, allowing the statements to proceed at speeds that rival direct use of the Core. fixes #3100
Diffstat (limited to 'examples')
-rw-r--r--examples/performance/__init__.py9
-rw-r--r--examples/performance/__main__.py2
2 files changed, 11 insertions, 0 deletions
diff --git a/examples/performance/__init__.py b/examples/performance/__init__.py
index 6e2e1fc89..a4edfce36 100644
--- a/examples/performance/__init__.py
+++ b/examples/performance/__init__.py
@@ -48,6 +48,15 @@ Or with options::
--dburl mysql+mysqldb://scott:tiger@localhost/test \\
--profile --num 1000
+.. seealso::
+
+ :ref:`faq_how_to_profile`
+
+File Listing
+-------------
+
+.. autosource::
+
Running all tests with time
---------------------------
diff --git a/examples/performance/__main__.py b/examples/performance/__main__.py
index 957d6c699..5e05143bf 100644
--- a/examples/performance/__main__.py
+++ b/examples/performance/__main__.py
@@ -1,3 +1,5 @@
+"""Allows the examples/performance package to be run as a script."""
+
from . import Profiler
if __name__ == '__main__':