summaryrefslogtreecommitdiff
path: root/test/perf
Commit message (Collapse)AuthorAgeFilesLines
* added insert speed profiler testMike Bayer2007-08-141-0/+68
|
* - a new mutex that was added in 0.3.9 causes the pool_timeoutMike Bayer2007-07-201-22/+23
| | | | | | | feature to fail during a race condition; threads would raise TimeoutError immediately with no delay if many threads push the pool into overflow at the same time. this issue has been fixed.
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-067-11/+12
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation
* - added synchronization to the mapper() construction step, to avoidMike Bayer2007-06-201-33/+37
| | | | | thread collections when pre-existing mappers are compiling in a different thread [ticket:613]
* remove unneeded divisionMike Bayer2007-05-261-2/+2
|
* added hotshot points into unit test, localizes profiling to just the ↵Mike Bayer2007-05-261-8/+14
| | | | | | query.select() process. 0.4 branch now has 18% fewer function calls for the same test.
* - mysql doesnt have + for concatenation, but pg doesnt have concat() (nor ↵Mike Bayer2007-05-261-4/+6
| | | | | | does sqlite) - parameterized masseagerload test
* - added a mutex to the mapper compilation step. ive been reluctant to add ↵Mike Bayer2007-01-061-0/+70
| | | | | | | | | | | any kind of threading anything to SA but this is one spot that its its really needed since mappers are typically "global", and while their state does not change during normal operation, the initial compilation step does modify internal state significantly, and this step usually occurs not at module-level initialization time (unless you call compile()) but at first-request time - added "compile_mappers()" function as a shortcut to compiling all mappers
* - fix to connection pool _close() to properly clean up, fixesMike Bayer2006-12-081-0/+53
| | | | MySQL synchronization errors [ticket:387]
* added mass eagerloading profile, debug log in EagerLoader conditional based ↵Mike Bayer2006-12-011-0/+54
| | | | on flag
* added conditional flag to debug log statements in mapper so that string ↵Mike Bayer2006-12-011-10/+10
| | | | | | formats dont occur updated massload test to work with 0.3
* - added extra check to "stop" cascading on save/update/save-update ifMike Bayer2006-11-291-0/+90
| | | | an instance is detected to be already in the session.
* - added profiling to massaveMike Bayer2006-10-011-5/+22
| | | | | - adjusted the formatting for per-instance loggers to limit the number of loggers that get created in memory.
* mass saver for profiling mem usage....Mike Bayer2006-09-291-0/+39
|
* tweaks for mysqlMike Bayer2006-09-291-2/+2
|
* adjustments to pool stemming from changes made for [ticket:224].Mike Bayer2006-08-041-0/+36
| | | | | overflow counter should only be decremented if the connection actually succeeded. added a test script to attempt testing this.
* inserting './lib/' into sys.path since PYTHONPATH no longer straightforward ↵Mike Bayer2006-06-293-1/+9
| | | | with latest setuptools
* merged attributes rewriteMike Bayer2006-06-151-9/+10
|
* if an item attached to a parent is found to be already in the session, then ↵Mike Bayer2006-06-151-0/+73
| | | | the "save-update" cascade operation doesnt take place. currently this prevents unncessessary cascading due to backref events, which was a massive speed hit.
* reorganized unit tests into subdirectoriesMike Bayer2006-06-053-0/+142