]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Limit non-backend critical profiling tests to SQLite
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Feb 2020 16:51:33 +0000 (11:51 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Feb 2020 19:41:21 +0000 (14:41 -0500)
commit386012597b9e7aa2a7f987930d00b892ed54121d
tree91bdc92e2848cd826211d7ac97a7a053606244dc
parent3c7765b49c0aba253c11f435b2923bb488d15809
Limit non-backend critical profiling tests to SQLite

issues with backend-specific profiling should be limited
to tests that are explcitly against resultset, compiler, etc.

MySQL in particular has an often varying callcount that isn't
worth running these tests against nor is it worth profiling
them for other backends like Oracle and SQL Server.

Also add the REQUIRE_SQLALCHEMY_CEXT flag to
the regen_callcounts.tox.ini script, which is part of some review
somewhere but is needed here to generate callcounts correctly.

Add a "warmup" phase for some of the ORM tests for join conditions
that have varying profile counts based on whether mappings have been
used already or not; profiling should always be against the
"warmed up" version of a function.

Change-Id: If483820235fa4cc4360cbd067a9b68d83512d587
lib/sqlalchemy/testing/profiling.py
regen_callcounts.tox.ini
test/aaa_profiling/test_misc.py
test/aaa_profiling/test_orm.py
test/aaa_profiling/test_pool.py
test/profiles.txt
test/requirements.py