gary*atlanta <gary.a...@gmail.com> added the comment:
tested this loop: for (i=0; i<loops; i++) { Py_BEGIN_ALLOW_THREADS Py_END_ALLOW_THREADS } With loops set to 10,000,000 on Centos 7, i7-2600 Python 2.7 real 0m0.199s user 0m0.109s sys 0m0.011s Python 3.7 real 0m0.912s user 0m0.791s sys 0m0.009s ---------- type: -> performance _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com