Skip to content

Instantly share code, notes, and snippets.

Created August 16, 2014 21:48
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/957d079572199f77b04d to your computer and use it in GitHub Desktop.
Save anonymous/957d079572199f77b04d to your computer and use it in GitHub Desktop.
$ perl -Mojo -E 'my $u = Mojo::URL->new("http://mojolicio.us"); n { $u->clone } 10000'
0.349452 wallclock secs ( 0.35 usr + 0.00 sys = 0.35 CPU) @ 28571.43/s (n=10000)
$ perl -Ilib -Mojo -E 'my $u = Mojo::URL->new("http://mojolicio.us"); n { $u->clone } 10000'
0.212794 wallclock secs ( 0.21 usr + 0.00 sys = 0.21 CPU) @ 47619.05/s (n=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment