This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients louielu, serhiy.storchaka, vstinner
Date 2017-11-21.14:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511272877.3.0.213398074469.issue31324@psf.upfronthosting.co.za>
In-reply-to
Content
I created a list of all test cases using:

./python -m test --list-cases > all_cases

The list contains 29,569 test cases. Sadly, the set().__contains__ matcher of my PR 4421 cannot be taken because test_json produces two test cases called "json". IMHO it's a bug in test_json, all test identifiers should be "fully qualified". test_builtin has a similar issue: it produces identifiers like "builtins.bin" instead of "test.test_builtin.builtins.bin".

If I removed the two "json" from all_cases, "./python -u -m test.bisect -i all_cases -v" takes less than one second before running the first test method, and so it's fast enough.

With PR 4420, it takes around 17 seconds before running the first test. The compilation of the giant regex and matching test identifiers are slow. My PR has the same bad performance when the regex path is taken.
History
Date User Action Args
2017-11-21 14:01:17vstinnersetrecipients: + vstinner, serhiy.storchaka, louielu
2017-11-21 14:01:17vstinnersetmessageid: <1511272877.3.0.213398074469.issue31324@psf.upfronthosting.co.za>
2017-11-21 14:01:17vstinnerlinkissue31324 messages
2017-11-21 14:01:17vstinnercreate