[issue19780] Pickle 4 frame headers optimization
Serhiy Storchaka
report at bugs.python.org
Fri Nov 29 16:00:42 CET 2013
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 <report at bugs.python.org>
<http://bugs.python.org/issue19780>
_______________________________________
More information about the Python-bugs-list
mailing list