Message133344
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. |
|
Date |
User |
Action |
Args |
2011-04-08 21:17:32 | vstinner | set | recipients:
+ vstinner, rhettinger, pitrou, michael.foord |
2011-04-08 21:17:30 | vstinner | link | issue11800 messages |
2011-04-08 21:17:30 | vstinner | create | |
|