Марк Коренберг added the comment: mmarkk@mmwork:~$ python2.7 --version Python 2.7.12
mmarkk@mmwork:~$ python2.7 ./qwe.py TCP mode, makefile method. 292731.3 lines per second (279.2 MB/s). Delay is 3.42 seconds TCP mode, fdopen method. 2410875.9 lines per second (2299.2 MB/s). Delay is 0.41 seconds UNIX mode, makefile method. 3247881.6 lines per second (3097.4 MB/s). Delay is 0.31 seconds UNIX mode, fdopen method. 3406528.3 lines per second (3248.7 MB/s). Delay is 0.29 seconds mmarkk@mmwork:~$ python3.5 --version Python 3.5.2 mmarkk@mmwork:~$ python3.5 ./qwe.py TCP mode, makefile method. 822754.8 lines per second (784.6 MB/s). Delay is 1.22 seconds TCP mode, fdopen method. 1916700.2 lines per second (1827.9 MB/s). Delay is 0.52 seconds UNIX mode, makefile method. 999149.7 lines per second (952.9 MB/s). Delay is 1.00 seconds UNIX mode, fdopen method. 2639650.7 lines per second (2517.4 MB/s). Delay is 0.38 seconds ---------- status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18329> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com