Christian Heimes added the comment:

It takes about 12 seconds to byte compile crash.py on my computer and less than 
half a second to import about 28 MB of byte code:


$ rm -rf crash.pyc __pycache__/
$ time python2.7 -c 'import crash'

real    0m11.930s
user    0m9.859s
sys     0m2.085s
$ time python2.7 -c 'import crash'

real    0m0.484s
user    0m0.401s
sys     0m0.083s
$ time python3.4 -c 'import crash'

real    0m12.327s
user    0m10.106s
sys     0m2.236s
$ time python3.4 -c 'import crash'

real    0m0.435s
user    0m0.367s
sys     0m0.069s

----------
nosy: +christian.heimes

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

Reply via email to