-
-
Save anonymous/cbe8fa3dabf6497ec7b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl -Ilib -Mojo -E 'helper foo => sub { "works!" }; my $c = app->build_controller; n { $c->foo } 100000' | |
0.790242 wallclock secs ( 0.79 usr + 0.00 sys = 0.79 CPU) @ 126582.28/s (n=100000) | |
$ perl -Ilib -Mojo -E 'helper foo => sub { "works!" }; my $c = app->build_controller; my $helpers = $c->helpers; n { $helpers->foo } 100000' | |
0.035367 wallclock secs ( 0.04 usr + 0.00 sys = 0.04 CPU) @ 2500000.00/s (n=100000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment