]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added an optional C extension to speed up the sql layer by
authorGaëtan de Menten <gdementen@gmail.com>
Sat, 13 Feb 2010 22:53:39 +0000 (22:53 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Sat, 13 Feb 2010 22:53:39 +0000 (22:53 +0000)
commit165609a190665f5453417c9c935a834714c7f5a5
tree90d3d0da3f233cf6fc211f367eea0dba661b098e
parentf2974ef3993e02646a2dfade5feb74afb78f370f
- Added an optional C extension to speed up the sql layer by
  reimplementing the highest impact functions.
  The actual speedups will depend heavily on your DBAPI and
  the mix of datatypes used in your tables, and can vary from
  a 50% improvement to more than 200%. It also provides a modest
  (~20%) indirect improvement to ORM speed for large queries.
  Note that it is *not* built/installed by default.
  See README for installation instructions.

- The most common result processors conversion function were
  moved to the new "processors" module.  Dialect authors are
  encouraged to use those functions whenever they correspond
  to their needs instead of implementing custom ones.
27 files changed:
CHANGES
README
lib/sqlalchemy/cextension/processors.c [new file with mode: 0644]
lib/sqlalchemy/cextension/resultproxy.c [new file with mode: 0644]
lib/sqlalchemy/dialects/access/base.py
lib/sqlalchemy/dialects/informix/base.py
lib/sqlalchemy/dialects/maxdb/base.py
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/mysqldb.py
lib/sqlalchemy/dialects/mysql/oursql.py
lib/sqlalchemy/dialects/oracle/zxjdbc.py
lib/sqlalchemy/dialects/postgresql/pg8000.py
lib/sqlalchemy/dialects/postgresql/psycopg2.py
lib/sqlalchemy/dialects/postgresql/pypostgresql.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/dialects/sybase/base.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/processors.py [new file with mode: 0644]
lib/sqlalchemy/test/profiling.py
lib/sqlalchemy/types.py
setup.py
test/aaa_profiling/test_resultset.py
test/aaa_profiling/test_zoomark.py
test/perf/stress_all.py [new file with mode: 0644]
test/perf/stresstest.py [new file with mode: 0644]
test/sql/test_query.py