STINNER Victor added the comment: Please use perf.timeit not timeit for microbenchmarks: https://perf.readthedocs.io/en/latest/ ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue31336> _______________________________________