Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created August 18, 2014 17:42
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 marcusramberg/6414e4366f2b5940448a to your computer and use it in GitHub Desktop.
Save marcusramberg/6414e4366f2b5940448a to your computer and use it in GitHub Desktop.
~/Source/mojo   master  time perl -I lib -Mojo -E 'n { $p= Mojo::Path->new("/foo/$_/")->parts for 1 .. 100000 }'
1.61781 wallclock secs ( 1.61 usr + 0.00 sys = 1.61 CPU) @ 0.62/s (n=1)
perl -I lib -Mojo -E 1.89s user 0.03s system 99% cpu 1.932 total
~/Source/mojo   master  git stash apply
# On branch master
# Changes not staged for commit:
# modified: lib/Mojo/Path.pm
#
no changes added to commit
~/Source/mojo   master ●  time perl -I lib -Mojo -E 'n { $p= Mojo::Path->new("/foo/$_/")->parts for 1 .. 100000 }'
1.50102 wallclock secs ( 1.50 usr + 0.00 sys = 1.50 CPU) @ 0.67/s (n=1)
perl -I lib -Mojo -E 1.77s user 0.03s system 99% cpu 1.806 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment