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 michael.foord, pitrou, rhettinger, vstinner
Date 2011-04-08.12:32:45
SpamBayes Score 8.84003e-07
Marked as misclassified No
Message-id <1302265966.22.0.951651678877.issue11800@psf.upfronthosting.co.za>
In-reply-to
Content
With the current implementation of faulthandler.dump_tracebacks_later(), use a timeout per function means create a new thread for each function (the thread is interrupted and exits when the test is done).

Quick benchmark with test_io on Linux (lowest "real time" of 3 runs):

- time ./python Lib/test/regrtest.py -v (with timeout): 1 min 3 sec
- time ./python Lib/test/regrtest.py -v, without timeout: 1 min 3 sec
- time ./python Lib/test/test_io.py (without timeout): 1 min 3 sec

test_io have 403 tests and 8 are skipped, so it looks like the creation of ~400 threads is really fast on Linux! test_io is one of the biggest test suite I think.
History
Date User Action Args
2011-04-08 12:32:46vstinnersetrecipients: + vstinner, rhettinger, pitrou, michael.foord
2011-04-08 12:32:46vstinnersetmessageid: <1302265966.22.0.951651678877.issue11800@psf.upfronthosting.co.za>
2011-04-08 12:32:45vstinnerlinkissue11800 messages
2011-04-08 12:32:45vstinnercreate