Serhiy Storchaka added the comment:
> 22:36:13 [ ~/PythonDev/cpython ]$ ./python.exe -m timeit "import
pickle"
> "with open('test.pickle4', 'rb', buffering=0) as f: pickle.load(f)" 100
> loops, best of 3: 9.28 msec per loop
Did you use the same test file or different files (generated by patched
and unpatched pickler)? Try to run this command several times and take a
minimum.
> I wrote a benchmark to simulate slow reads. But again, there is no
> performance difference with the patch.
Test data are too small, they all less than frame size.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19780>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com