diff options
Diffstat (limited to 'test/perf')
| -rw-r--r-- | test/perf/masscreate.py | 2 | ||||
| -rw-r--r-- | test/perf/masscreate2.py | 3 | ||||
| -rw-r--r-- | test/perf/massload2.py | 5 |
3 files changed, 9 insertions, 1 deletions
diff --git a/test/perf/masscreate.py b/test/perf/masscreate.py index 5f99bb6c1..e603e2c00 100644 --- a/test/perf/masscreate.py +++ b/test/perf/masscreate.py @@ -1,4 +1,6 @@ # times how long it takes to create 26000 objects +import sys +sys.path.insert(0, './lib/') from sqlalchemy.attributes import * import time diff --git a/test/perf/masscreate2.py b/test/perf/masscreate2.py index f261f832c..3a68f3612 100644 --- a/test/perf/masscreate2.py +++ b/test/perf/masscreate2.py @@ -1,3 +1,6 @@ +import sys +sys.path.insert(0, './lib/') + import gc import random, string diff --git a/test/perf/massload2.py b/test/perf/massload2.py index 955e2b283..1506ca503 100644 --- a/test/perf/massload2.py +++ b/test/perf/massload2.py @@ -1,3 +1,6 @@ +import sys +sys.path.insert(0, './lib/') + try: # import sqlalchemy.mods.threadlocal pass @@ -70,4 +73,4 @@ print len([s for s in sess]) print "flushing" sess.flush() total = time.time() - now -print "done,total time", total
\ No newline at end of file +print "done,total time", total |
