Skip to content

Instantly share code, notes, and snippets.

@ferki
Created June 13, 2015 13:31
Show Gist options
  • Save ferki/84be7f7e1a870e9fde1f to your computer and use it in GitHub Desktop.
Save ferki/84be7f7e1a870e9fde1f to your computer and use it in GitHub Desktop.
md5 benchmark
$ rex bench
[2015-06-13 15:27:07] <local> INFO - Running task bench on <local>
Benchmark: timing 100 iterations of new_large, new_small, old_large, old_small...
new_large: 2 0.11 0.11 0.62 0.03 100 None @ 114.94/s (n=100)
new_small: 2 0.06 0.16 0.52 0.06 100 None @ 125.00/s (n=100)
old_large: 108 0.17 0.21 101.85 5.35 100 None @ 0.93/s (n=100)
old_small: 2 0.11 0.28 0 0 100 None @ 256.41/s (n=100)
(warning: too few iterations for a reliable count)
Rate old_large new_large new_small old_small
old_large 0.930/s -- -99% -99% -100%
new_large 115/s 12266% -- -8% -55%
new_small 125/s 13347% 9% -- -51%
old_small 256/s 27485% 123% 105% --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment