Closed jstriebel closed 5 years ago
This also feels much faster, need to add a benchmark which actually downloads some chunks in parallel.
before: decode_jpg 10 loops, best of 5: 25.2 msec per loop after: decode_jpg 100 loops, best of 5: 2.56 msec per loop
before
decode_jpg 10 loops, best of 5: 25.2 msec per loop
after
decode_jpg 100 loops, best of 5: 2.56 msec per loop
before:
after:
PS: Possible alternative: https://github.com/lilohuang/PyTurboJPEG
This also feels much faster, need to add a benchmark which actually downloads some chunks in parallel.
before
:decode_jpg 10 loops, best of 5: 25.2 msec per loop
after
:decode_jpg 100 loops, best of 5: 2.56 msec per loop
before:
after:
PS: Possible alternative: https://github.com/lilohuang/PyTurboJPEG