Yeah, but 200 test in 30 minutes is 9 *seconds* per test -- the Python startup time is only a tiny fraction of that (20-40 *milliseconds*).On Sat, May 10, 2014 at 3:33 PM, Donald Stufft <donald@stufft.io> wrote:On May 10, 2014, at 5:46 PM, Victor Stinner <victor.stinner@gmail.com> wrote:Le 10 mai 2014 22:51, "Gregory Szorc" <gregory.szorc@gmail.com> a écrit :
> Furthermore, Python 3 appears to be >50% slower than Python 2.Please mention the minor version. It looks like you compared 2.7 and 3.3. Please test 3.4, we made interesting progress on the startup time.
There is still something to do, especially on OS X. Depending on the OS, different modules are loaded and some functions are implemented differently.
For what it's worth pip is the same way, about half of our test suite involvesinvoking (multiple) python processes. This has historically be really slow(~30 minutes to run ~200 tests of that type). We've been able to get the wallclock run time down by parallelizing these but the sequential time is stillreally slow.
-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/guido%40python.org
--
--Guido van Rossum (python.org/~guido)