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.21:17:30
SpamBayes Score 6.5939403e-06
Marked as misclassified No
Message-id <1302297447.29634.5.camel@marge>
In-reply-to <1302283903.3508.0.camel@localhost.localdomain>
Content
Le vendredi 08 avril 2011 à 17:31 +0000, Antoine Pitrou a écrit :
> Antoine Pitrou <pitrou@free.fr> added the comment:
> 
> > I did a similar test on Windows: test_io takes ~19.1 sec with and
> > without timeout.
> 
> You may want to test with test_argparse.

Oh... test_argparse has 1608 test! Benchmark on Linux:
- without timeout: 18.931 sec
- with timeout/function call: 19.436 sec

So on this test suite, the overhead is 2.7%. The current timeout
implementation has an overhead near 0% on the same test suite (I tried
to compute the overhead, but I found -0.2% which looks wrong :-)).

I'm too lazy to start Windows for another benchmark tonight.
History
Date User Action Args
2011-04-08 21:17:32vstinnersetrecipients: + vstinner, rhettinger, pitrou, michael.foord
2011-04-08 21:17:30vstinnerlinkissue11800 messages
2011-04-08 21:17:30vstinnercreate