STINNER Victor <victor.stin...@haypocalc.com> added the comment: Same benchmark with Python 2.6.5+, so without the patch, but compiled with maximum compiler optimization (whereas pydebug means no optimization):
Protocol 0 - dump: 517.3 ms - load: 876.6 ms <= because of the new I/O library, python3 is much slower Protocol 1 - dump: 141.8 ms - load: 255.2 ms <= with my patch, python3 is 1.5x faster Protocol 2 - dump: 142.7 ms - load: 262.1 ms <= with my patch, python3 is 1.5x faster It would be better to redo all tests with the same compiler options, but the most important point is that Python3 is *faster* than Python2 with my patch ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com