[pypy-issue] [issue733] bz2 decompression is very slow

Jonas H. tracker at bugs.pypy.org
Mon May 30 23:05:18 CEST 2011


Jonas H. <jonas at lophus.org> added the comment:

I did some benchmarking and the decompression runtime seems to be much worse than 
I expected -- here are some stupid decompression benchmarks (script 
http://paste.pocoo.org/show/397932):

$ python bench2-bz2.py 
500000     0.01
1000000    0.01
5000000    0.05
10000000   0.11

$  pypy bench2-bz2.py 
500000     0.12
1000000    0.49
5000000    7.34
10000000  24.70

The numbers on the left mean the amount of data that was compressed (in bytes), 
the left column shows the decompression runtime in seconds.

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue733>
________________________________________


More information about the pypy-issue mailing list