summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_compiler.py
Commit message (Collapse)AuthorAgeFilesLines
* - the raw 2to3 runMike Bayer2013-04-271-1/+1
| | | | - went through examples/ and cleaned out excess list() calls
* A major fix to the way in which a select() object producesMike Bayer2013-04-111-0/+12
| | | | | | | | | | | | | | | | | | | labeled columns when apply_labels() is used; this mode produces a SELECT where each column is labeled as in <tablename>_<columnname>, to remove column name collisions for a multiple table select. The fix is that if two labels collide when combined with the table name, i.e. "foo.bar_id" and "foo_bar.id", anonymous aliasing will be applied to one of the dupes. This allows the ORM to handle both columns independently; previously, 0.7 would in some cases silently emit a second SELECT for the column that was "duped", and in 0.8 an ambiguous column error would be emitted. The "keys" applied to the .c. collection of the select() will also be deduped, so that the "column being replaced" warning will no longer emit for any select() that specifies use_labels, though the dupe key will be given an anonymous label which isn't generally user-friendly. [ticket:2702]
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-1/+1
| | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* - [feature] To complement [ticket:2547], typesMike Bayer2012-08-171-6/+16
| | | | | | | | | | | | | | | | can now provide "bind expressions" and "column expressions" which allow compile-time injection of SQL expressions into statements on a per-column or per-bind level. This is to suit the use case of a type which needs to augment bind- and result- behavior at the SQL level, as opposed to in the Python level. Allows for schemes like transparent encryption/ decryption, usage of Postgis functions, etc. [ticket:1534] - update postgis example fully. - still need to repair the result map propagation here to be transparent for cases like "labeled column".
* adjustmentsMike Bayer2012-08-111-1/+1
|
* - a new approach to profiling where we attempt to strip outMike Bayer2012-08-091-6/+4
| | | | | | parts of the pstats that are idiosyncratic to different platforms. the goal is no per-version assertions on tests, version differences in theory would go into the list of profiling exceptions.
* callcount tweakMike Bayer2012-03-051-1/+1
|
* fixes to actually get tests to passMike Bayer2011-11-221-2/+2
|
* mark all aaa_profiling tests with __requires__ = 'cpython',Mike Bayer2011-04-231-0/+2
|
* - remove test.sql._base, test.engine._base, test.orm._base, move those ↵Mike Bayer2011-03-271-1/+1
| | | | | | | classes to a new test.lib.fixtures module - move testing.TestBase to test.lib.fixtures - massive search and replace
* - The compiler extension now supports overriding the defaultMike Bayer2011-02-091-3/+3
| | | | | | | compilation of expression._BindParamClause including that the auto-generated binds within the VALUES/SET clause of an insert()/update() statement will also use the new compilation rules. [ticket:2042]
* - whitespace removal bonanzaMike Bayer2011-01-021-3/+3
|
* - remove some more 2.4 targetsMike Bayer2010-12-271-1/+1
|
* py3k fixesMike Bayer2010-12-271-3/+3
|
* - more skippage of 2.4Mike Bayer2010-12-231-1/+1
|
* - allow cextension version to fall back to non-cextensionMike Bayer2010-12-221-4/+4
| | | | | - start taking out "default" version, 2.4 version, only need these tests in a relative sense
* - another heap of inlinings and now I really have to be done with thisMike Bayer2010-12-211-10/+12
|
* - modest inlinings into the MapperProperty.setup/row_processor chainMike Bayer2010-12-201-1/+1
|
* - callcounts. need to find some way to make this less tedious.Mike Bayer2010-12-131-1/+1
|
* - sqlalchemy.test and nose plugin moves back to being entirelyMike Bayer2010-11-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | outside of "sqlalchemy" and under "test/". Rationale: - coverage plugin works without issue, without need for an awkward additional package install - command line for "nosetests" isn't polluted with SQLAlchemy options [ticket:1949]
| * - move sqlalchemy.test to test.libMike Bayer2010-11-151-1/+1
| |
* | - the "type_map" dictionary in sqlalchemy.types is now private,Mike Bayer2010-11-281-1/+1
|/ | | | i.e. is named "_type_map". [ticket:1870]
* - move inline "import" statements to use new "util.importlater()" construct. ↵Mike Bayer2010-11-131-0/+5
| | | | | | | | | cuts down on clutter, timeit says there's a teeny performance gain, at least where the access is compared against attr.subattr. these aren't super-critical calls anyway - slight inlining in _class_to_mapper
* - latest distributeMike Bayer2010-07-051-2/+4
| | | | | - added caveats to unittest README encountered with Py2.7 + current nose 0.11.3 - call counts for py2.7. all tests pass for sqlite + mysql-python + psycopg2
* almost there, some tests failing still.Mike Bayer2010-03-091-1/+1
|
* preload type affinity entries so that these comparisons don't get shoved ↵Mike Bayer2010-03-011-0/+10
| | | | into the callcounts
* more py3k fixesMike Bayer2010-02-201-1/+1
|
* callcountsMike Bayer2010-02-161-3/+3
|
* - A change to the solution for [ticket:1579] - an end-userMike Bayer2010-02-161-0/+4
| | | | | | | | defined bind parameter name that directly conflicts with a column-named bind generated directly from the SET or VALUES clause of an update/insert generates a compile error. This reduces call counts and eliminates some cases where undesirable name conflicts could still occur.
* update counts for 2.4Mike Bayer2009-10-231-2/+2
|
* python3k fixesMike Bayer2009-08-091-2/+2
|
* fix some profiles for 2.4Mike Bayer2009-08-061-1/+1
|
* merge 0.6 series to trunk.Mike Bayer2009-08-061-3/+3
|
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-0/+30
See README.unittests for information on how to run the tests. [ticket:970]