Serhiy Storchaka added the comment:

This is not startup time, this is import time. All binaries were compiled in 
release mode. The regression is reproducible with other modules.

$ for i in `seq 5`; do ./python -I -m timeit -n1 -r1 "import zipfile"; done

Python 3.4:
1 loops, best of 1: 46 msec per loop
1 loops, best of 1: 45.3 msec per loop
1 loops, best of 1: 45.9 msec per loop
1 loops, best of 1: 45.1 msec per loop
1 loops, best of 1: 45.3 msec per loop

Python 3.5:
1 loops, best of 1: 49.1 msec per loop
1 loops, best of 1: 49.9 msec per loop
1 loops, best of 1: 50 msec per loop
1 loops, best of 1: 49.9 msec per loop
1 loops, best of 1: 53.7 msec per loop

Python 3.6:
1 loops, best of 1: 66.3 msec per loop
1 loops, best of 1: 64.2 msec per loop
1 loops, best of 1: 64.6 msec per loop
1 loops, best of 1: 65.1 msec per loop
1 loops, best of 1: 64.2 msec per loop

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to