Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created May 15, 2012 21:24
Show Gist options
  • Save andreypopp/2705268 to your computer and use it in GitHub Desktop.
Save andreypopp/2705268 to your computer and use it in GitHub Desktop.
mpb % python -m timeit -s 'from peg import expr, parse' "parse(expr, '1+1+3+123-12*(1212+2)')"
1000 loops, best of 3: 231 usec per loop
mpb % pypy -m timeit -s 'from peg import expr, parse' "parse(expr, '1+1+3+123-12*(1212+2)')"
1000 loops, best of 3: 30.6 usec per loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment