Skip to content

Instantly share code, notes, and snippets.

@wavebeem
Created January 6, 2011 20:40
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 wavebeem/768535 to your computer and use it in GitHub Desktop.
Save wavebeem/768535 to your computer and use it in GitHub Desktop.
Benchmarking for word frequency programs
Ruby
real 0m2.820s
user 0m1.887s
sys 0m0.040s
------------------------------------------------------------------------------
Perl
real 0m1.344s
user 0m1.047s
sys 0m0.047s
------------------------------------------------------------------------------
Python2
real 0m2.646s
user 0m1.550s
sys 0m0.067s
------------------------------------------------------------------------------
Python3
real 0m2.981s
user 0m2.063s
sys 0m0.137s
------------------------------------------------------------------------------
76bc1e237d3c305e7b1c24b0b6065186 B2
76bc1e237d3c305e7b1c24b0b6065186 C2
76bc1e237d3c305e7b1c24b0b6065186 D2
76bc1e237d3c305e7b1c24b0b6065186 E2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment