]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Performance fixes for new result set
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 May 2020 17:41:44 +0000 (13:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 21 May 2020 18:16:03 +0000 (14:16 -0400)
commit4550983e0ce2f35b3585e53894c941c23693e71d
tree3928e6e333c2b9bb6e23a4de079565a387d309ae
parent3d55263c92ee29a0257d823124c353a35246cf31
Performance fixes for new result set

A few small mistakes led to huge callcounts.   Additionally,
the warn-on-get behavior which is attempting to warn for
deprecated access in SQLAlchemy 2.0 is very expensive; it's not clear
if its feasible to have this warning or to somehow alter how it
works.

Fixes: #5340
Change-Id: I73bdd2d7b6f1b25cc0222accabd585cf761a5af4
20 files changed:
examples/performance/__init__.py
lib/sqlalchemy/cextension/resultproxy.c
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/engine/row.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/testing/assertions.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/_collections.py
test/aaa_profiling/test_resultset.py
test/base/test_result.py
test/perf/orm2010.py
test/profiles.txt
test/sql/test_deprecations.py
test/sql/test_resultset.py