Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2014 20:12
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/acca285b54edbb4c30e8 to your computer and use it in GitHub Desktop.
Save anonymous/acca285b54edbb4c30e8 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 1000) } 10000'
2.41006 wallclock secs ( 2.40 usr + 0.01 sys = 2.41 CPU) @ 4149.38/s (n=10000)
$ perl -Ilib -Mojo -E 'my $c = app->build_controller; n { $c->render(inline => "<p>test</p>\n" x 1000) } 10000'
1.92117 wallclock secs ( 1.92 usr + 0.01 sys = 1.93 CPU) @ 5181.35/s (n=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment