STINNER Victor added the comment: "FYI, https://github.com/python/performance/pull/27 will fix performance regression. Python 3 performance is similar to Python 2 after s/warn/warning/"
I was surprised to see that Logger.warn() is slower than Logger.warning()! It is because warn() emits a deprecation warning, thing which isn't cheap... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30815> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com