Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2014 20:36
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/8d7e8a961a08cddba7b1 to your computer and use it in GitHub Desktop.
Save anonymous/8d7e8a961a08cddba7b1 to your computer and use it in GitHub Desktop.
$ perl -Mojo -E 'my $c = app->build_controller; my $inline = "<p>test</p>\n" x 100; n { $c->render_to_string(inline => $inline) } 10000'
0.926812 wallclock secs ( 0.92 usr + 0.00 sys = 0.92 CPU) @ 10869.57/s (n=10000)
$ perl -Ilib -Mojo -E 'my $c = app->build_controller; my $inline = "<p>test</p>\n" x 100; n { $c->render_to_string(inline => $inline) } 10000'
0.808834 wallclock secs ( 0.80 usr + 0.00 sys = 0.80 CPU) @ 12500.00/s (n=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment