Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2014 20:14
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/443255790107bd363f28 to your computer and use it in GitHub Desktop.
Save anonymous/443255790107bd363f28 to your computer and use it in GitHub Desktop.
$ perl -Mojo -E 'my $c = app->build_controller; n { $c->render(inline => "<p>test</p>\n" x 50) } 10000'
1.24583 wallclock secs ( 1.24 usr + 0.00 sys = 1.24 CPU) @ 8064.52/s (n=10000)
$ perl -Ilib -Mojo -E 'my $c = app->build_controller; n { $c->render(inline => "<p>test</p>\n" x 50) } 10000'
1.20689 wallclock secs ( 1.20 usr + 0.00 sys = 1.20 CPU) @ 8333.33/s (n=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment