Last active
July 8, 2017 04:09
-
-
Save skaji/b597ec5ecef28449527bb746ab53bd30 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
#!/usr/bin/env perl6 | |
use v6; | |
class Foo { } | |
my $start = now; | |
for ^30 { | |
try Foo.not-exists; | |
} | |
printf "Took %.3f sec\n", now - $start; | |
=finish | |
❯ ~/env/rakudobrew/moar-2017.04/install/bin/perl6 -v | |
This is Rakudo version 2017.04 built on MoarVM version 2017.04 | |
implementing Perl 6.c. | |
❯ ~/env/rakudobrew/moar-2017.04/install/bin/perl6 test.p6 | |
Took 0.004 sec | |
❯ ~/env/rakudobrew/moar-nom/install/bin/perl6 -v | |
This is Rakudo version 2017.06-172-gc76d9324a built on MoarVM version 2017.06-43-g45b008fb | |
implementing Perl 6.c. | |
❯ ~/env/rakudobrew/moar-nom/install/bin/perl6 test.p6 | |
Took 4.903 sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment