Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created October 1, 2011 22:23
Show Gist options
  • Save ingydotnet/1256736 to your computer and use it in GitHub Desktop.
Save ingydotnet/1256736 to your computer and use it in GitHub Desktop.
Benchmark: timing 10000000 iterations of 1) Mouse 0.93, 2) Mo 0.25, 3) Moo 0.00901, 4) Moose 2.0205...
1) Mouse 0.93: 3 wallclock secs ( 2.62 usr + 0.00 sys = 2.62 CPU) @ 3816793.89/s (n=10000000)
2) Mo 0.25: 8 wallclock secs ( 7.41 usr + 0.00 sys = 7.41 CPU) @ 1349527.67/s (n=10000000)
3) Moo 0.00901: 2 wallclock secs ( 3.36 usr + 0.00 sys = 3.36 CPU) @ 2976190.48/s (n=10000000)
4) Moose 2.0205: 9 wallclock secs ( 9.38 usr + 0.00 sys = 9.38 CPU) @ 1066098.08/s (n=10000000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment