diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-24 12:21:59 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-24 12:21:59 -0500 |
| commit | c848624f9db325213ddf2fde9819946f9eb235cd (patch) | |
| tree | 7400518449a2749f91a486a662b76bcaa7e6c7d6 /test/perf | |
| parent | 4af7bc6cfc8790bf6ef267c059a47952de7c64fa (diff) | |
| download | sqlalchemy-c848624f9db325213ddf2fde9819946f9eb235cd.tar.gz | |
- SqlSoup overhaul
- Added "map_to()" method to SqlSoup, which is a "master"
method which accepts explicit arguments for each aspect of
the selectable and mapping, including a base class per
mapping. [ticket:1975]
- Mapped selectables used with the map(), with_labels(),
join() methods no longer put the given argument into the
internal "cache" dictionary. Particularly since the
join() and select() objects are created in the method
itself this was pretty much a pure memory leaking behavior.
Diffstat (limited to 'test/perf')
| -rw-r--r-- | test/perf/insertspeed.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/perf/insertspeed.py b/test/perf/insertspeed.py index 0491e9f95..7d2712837 100644 --- a/test/perf/insertspeed.py +++ b/test/perf/insertspeed.py @@ -1,4 +1,3 @@ -import testenv; testenv.simple_setup() import sys, time from sqlalchemy import * from sqlalchemy.orm import * @@ -87,7 +86,7 @@ def all(): run_profiled(sa_profiled_insert_many, 'SQLAlchemy bulk insert/select, profiled', - 1000) + 50000) print "\nIndividual INSERTS via execute():\n" @@ -101,7 +100,7 @@ def all(): run_profiled(sa_profiled_insert, 'SQLAlchemy individual insert/select, profiled', - 1000) + 50000) finally: metadata.drop_all() |
