Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created October 1, 2011 21:44
Show Gist options
  • Save ingydotnet/1256692 to your computer and use it in GitHub Desktop.
Save ingydotnet/1256692 to your computer and use it in GitHub Desktop.
ingy@thinkingy:~/src/mo-pm$ perl xt/benchmark.pl 3000000 mo moo mouse
Benchmark: timing 3000000 iterations of 1) Mo 0.25, 2) Moo 0.00901, 3) Mouse 0.93...
1) Mo 0.25: 9 wallclock secs ( 9.18 usr + 0.00 sys = 9.18 CPU) @ 326797.39/s (n=3000000)
2) Moo 0.00901: 15 wallclock secs (15.36 usr + 0.00 sys = 15.36 CPU) @ 195312.50/s (n=3000000)
3) Mouse 0.93: 11 wallclock secs (11.73 usr + 0.00 sys = 11.73 CPU) @ 255754.48/s (n=3000000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment