[Python-Dev] python -m test -jN

Antoine Pitrou solipsis at pitrou.net
Wed Mar 23 14:48:59 CET 2011


Hey Barry,

> Python sort of has that, but I guess it depends on your definition of "fast"
> :).  Here are my run times.
> 
> 'make quicktest': 18m
> 'make test'     : 30m
> 'make testall'  : 35m

Please take a look at http://docs.python.org/devguide/runtests.html
and learn about the -j option ;)

(on a dual-core 4-thread machine:

./python -m test -j4
[...]
600.34user 26.36system 4:13.44elapsed 247%CPU (0avgtext+0avgdata
871456maxresident)k 110544inputs+152624outputs
(72major+6806058minor)pagefaults 0swaps

)

Regards

Antoine.




More information about the Python-Dev mailing list