Serhiy Storchaka added the comment: I just have rebuilt my Python's in development brances after made distclean to avoid possible effects of incremental building, and got the same results.
(1) for i in `seq 5`; do ./python -I -m timeit -n1 -r1 -s "import sys; sys.modules.clear()" -- "import enum"; done Python 3.4: 29 msec Python 3.5: 43.4 msec (+50%) Python 3.6: 44.4 msec (+2%, +53%) (2) for i in `seq 5`; do ./python -I -m timeit "import enum"; done Python 3.4: 3.02 usec Python 3.5: 3.14 usec (+4%) Python 3.6: 3.34 usec (+6%, +10%) (3) for i in `seq 5`; do ./python -I -m timeit -n1 -r1 "import enum"; done Python 3.4: 3.49 msec Python 3.5: 4.19 msec (+20%) Python 3.6: 4.45 msec (+6%, +28%) 32-bit Ubuntu 14.04, Linux 3.16, gcc 4.8.4, Intel(R) Atom(TM) CPU N570 @ 1.66GH. ---------- _______________________________________ 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