Commit Graph

37 Commits

Author SHA1 Message Date
Mike Bayer 0cb0dc0694 zoomarks have gone up as a result of r4936, possibly others. not clear why 2008-07-18 22:28:16 +00:00
Mike Bayer 5ccfa64294 - bumped PG's call count on test #6 to 1193 for py2.4; this is due to non-pool-threadlocal nature adding some checkout overhead 2008-05-27 03:08:35 +00:00
Mike Bayer ad23f3b068 - zoomark/zoomark_orm seem to work with pool_threadlocal turned off, [ticket:1050] becomes WORKSFORME
- fixed probably errenous unique=True checkin on unitofwork.py
2008-05-19 22:35:32 +00:00
Mike Bayer dbda75ec5f pool_threadlocal is off by default [ticket:1049] 2008-05-19 15:46:32 +00:00
Jason Kirtland 78dc35822e - Adjusted zoomoark
- Added test/orm/defaults.  Ambitiously uses ansi triggers.
2008-05-14 19:55:35 +00:00
Mike Bayer 4a6afd469f r4695 merged to trunk; trunk now becomes 0.5.
0.4 development continues at /sqlalchemy/branches/rel_0_4
2008-05-09 16:34:10 +00:00
Jason Kirtland 9dd01e52e2 - microcleanup 2008-04-03 17:32:22 +00:00
Jason Kirtland d78f39d005 - Experimental: prefer cProfile over hotspot for 2.5+
- The latest skirmish in the battle against zoomark and sanity:
  3rd party code is factored out in the function call count canary tests
2008-04-03 17:08:08 +00:00
Jason Kirtland 0359a6a13d - Re-tuned call counts for 2.3 through 2.5. 2008-04-02 18:13:53 +00:00
Mike Bayer fef66e5c5b doh 2008-04-02 16:15:57 +00:00
Mike Bayer 52b69d0e25 reduced 2.4 callcounts... 2008-04-02 15:22:33 +00:00
Mike Bayer b041ff1e62 seems like the recent itertools add to select()._get_display_froms() adds overhead in 2.4? not sure why 2008-04-01 18:08:42 +00:00
Mike Bayer c0b5a0446b - updated the naming scheme of the base test classes in test/testlib/testing.py;
tests extend from either TestBase or ORMTest, using additional mixins for
special assertion methods as needed
2008-02-11 00:28:39 +00:00
Jason Kirtland 47a8b6d10d - Migrated zoomark to profiling.function_call_count(), tightened up the numbers. Is there variation by platform too? Buildbots will tell... 2008-01-22 22:43:04 +00:00
Jason Kirtland 7e0f72cde4 rein in r3840 find and replace rampage 2008-01-22 21:32:51 +00:00
Jason Kirtland b3cc2f7e0c - 2.3 fixup part three: 100% on postgres, mysql 2008-01-22 21:08:21 +00:00
Jason Kirtland 17d3c8764e - testbase is gone, replaced by testenv
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts
2008-01-12 22:03:42 +00:00
Jason Kirtland 8128a6378a - Removed @testing.supported. Dialects in development or maintained outside
the tree can now run the full suite of tests out of the box.
- Migrated most @supported to @fails_on, @fails_on_everything_but, or (last
  resort) @unsupported.  @fails_on revealed a slew of bogus test skippage,
  which was corrected.
- Added @fails_on_everything_but.  Yes, the first usage *was*
  "fails_on_everything_but('postgres')".  How did you guess!
- Migrated @supported in dialect/* to the new test-class attribute __only_on__.
- Test classes can also have __unsupported_on__ and __excluded_on__.
2007-12-13 09:59:14 +00:00
Mike Bayer 4d7f279d14 fixed unicode-ness for Unicode values 2007-11-28 22:09:57 +00:00
Mike Bayer cf18eecd70 - named_with_column becomes an attribute
- cleanup within compiler visit_select(), column labeling
- is_select() removed from dialects, replaced with returns_rows_text(), returns_rows_compiled()
- should_autocommit() removed from dialects, replaced with should_autocommit_text() and
should_autocommit_compiled()
- typemap and column_labels collections removed from Compiler, replaced with single "result_map" collection.
- ResultProxy uses more succinct logic in combination with result_map to target columns
2007-11-25 03:28:49 +00:00
Mike Bayer 3f93103a5e - all kinds of cleanup, tiny-to-slightly-significant speed improvements 2007-11-24 00:55:39 +00:00
Mike Bayer 95807fd287 some wide zoomark ranges... 2007-11-18 07:23:00 +00:00
Mike Bayer 31b32896e8 cut down a good deal of Join construction overhead 2007-11-18 06:51:17 +00:00
Ants Aasma 004345d7c9 updated zoomark test_1a_populate callcounts. if the calls keep being removed like this then soon there will be none left. 2007-11-08 00:11:46 +00:00
Mike Bayer 0af3f8f35b - rewritten ClauseAdapter merged from the eager_minus_join branch; this is a much simpler
and "correct" version which will copy all elements exactly once, except for those which were
replaced with target elements.  It also can match a wider variety of target elements including
joins and selects on identity alone.
2007-11-03 22:13:17 +00:00
Mike Bayer 66cd772094 - merged factor_down_bindparams branch.
- removed ClauseParameters object; compiled.params returns a regular dictionary
  now, as well as result.last_inserted_params()/last_updated_params().
- various code trimming, method removals.
2007-11-01 03:58:21 +00:00
Ants Aasma 5a1863d092 - also added proxying of save_or_update to scoped sessions.
- session.update() raises an error when updating an instance that is already in the session with a different identity
- adjusted zoomarks lower limits so I can get a nice clean run
2007-10-31 16:30:06 +00:00
Ants Aasma 6bbc7dd157 change the in_ API to accept a sequence or a selectable [ticket:750] 2007-10-16 22:57:05 +00:00
Jason Kirtland 0f49157bc9 Adjusted zoomark ranges for 2.4 and 2.5. 2007-10-13 22:18:35 +00:00
Jason Kirtland f0c535403f - The no-arg ResultProxy._row_processor() is now the class attribute
`_process_row`.
- Further tiny cleanups in RoxProxy.
2007-10-02 01:40:43 +00:00
Jason Kirtland c1221b7cd3 - The IdentifierPreprarer's _requires_quotes test is now regex based.
Any out-of-tree dialects that provide custom sets of legal_characters
  or illegal_initial_characters will need to move to regexes or override
  _requires_quotes.
2007-09-27 17:23:41 +00:00
Mike Bayer e3b06dc83e zoomark adjustment for the pybot... 2007-09-27 00:28:58 +00:00
Mike Bayer 9f7526df52 - adjust server side logic to work with standalone default execution
- a little bit of inlining of same
2007-09-27 00:17:07 +00:00
Mike Bayer a504b78e6c buildbot reported a lower number for test 1a... 2007-09-04 18:20:48 +00:00
Mike Bayer 5800950add - took out method calls for oid_column
- reduced complexity of parameter handling during execution; __distill_params does all
parameter munging, executioncontext.parameters always holds a list of parameter structures
(lists, tuples, or dicts).
2007-09-04 18:07:16 +00:00
Mike Bayer 9c76fa6cb5 lowered value, fewer calls on pybot ? 2007-09-01 23:10:13 +00:00
Mike Bayer 46cf32fc10 added zoomark profile 2007-09-01 22:48:07 +00:00