Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created January 8, 2017 17:15
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 anonymous/4ce592d1a5decf0b8ade3db2336d1d17 to your computer and use it in GitHub Desktop.
Save anonymous/4ce592d1a5decf0b8ade3db2336d1d17 to your computer and use it in GitHub Desktop.
$ perl -Ilib -MMojo::File -MPath::Tiny -Mojo -E 'n { Path::Tiny::path("/Users/sri/.vimrc")->slurp_raw } 100000; n { Mojo::File::path("/Users/sri/.vimrc")->slurp } 100000'
2.36471 wallclock secs ( 1.73 usr + 0.63 sys = 2.36 CPU) @ 42372.88/s (n=100000)
1.22802 wallclock secs ( 0.70 usr + 0.53 sys = 1.23 CPU) @ 81300.81/s (n=100000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment