Skip to content

Instantly share code, notes, and snippets.

@jbaiter
Created March 13, 2014 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaiter/9538491 to your computer and use it in GitHub Desktop.
Save jbaiter/9538491 to your computer and use it in GitHub Desktop.
Small jpegtran/PyPy benchmark
# Requires jpegtran-cffi
[1] import jpegtran
[2] %timeit -n10 -r5 jpegtran.JPEGImage('someimage.jpg').exif_thumbnail.as_blob()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment