Created
June 22, 2021 20:42
-
-
Save melezhik/a147c176b607f643806f2ceded5cb864 to your computer and use it in GitHub Desktop.
benchmark for grep( /:i <!after i> e / )
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
[root@23f7111def19 r3tool]# SP6_FORMAT_TERSE=1 tomty --env=2020_12 pull_4383 | |
load configuration from /root/projects/r3tool/.tomty/env/config.2020_12.pl6 | |
index updated from file:///root/repo/api/v1/index | |
cat $root_dir/task.bash | |
$RAKUBIN -v | |
time $RAKUBIN -e 'my $txt = slurp "/usr/share/dict/words"; $txt.grep( /:i <!after i> e / ) for 1..100' | |
Welcome to Rakudo(tm) v2020.12. | |
Implementing the Raku(tm) programming language v6.d. | |
Built on MoarVM version 2020.12. | |
stderr: | |
real 0m0.783s | |
user 0m0.762s | |
sys 0m0.095s | |
[root@23f7111def19 r3tool]# SP6_FORMAT_TERSE=1 tomty --env=2021_06 pull_4383 | |
load configuration from /root/projects/r3tool/.tomty/env/config.2021_06.pl6 | |
index updated from file:///root/repo/api/v1/index | |
cat $root_dir/task.bash | |
$RAKUBIN -v | |
time $RAKUBIN -e 'my $txt = slurp "/usr/share/dict/words"; $txt.grep( /:i <!after i> e / ) for 1..100' | |
Welcome to ๐๐๐ค๐ฎ๐๐จโข v2021.05-43-g4887a169b. | |
Implementing the ๐๐๐ค๐ฎโข programming language v6.d. | |
Built on MoarVM version 2021.06. | |
stderr: | |
real 0m0.822s | |
user 0m0.840s | |
sys 0m0.113s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[root@23f7111def19 r3tool]# SP6_FORMAT_TERSE=1 tomty --env=2021_05 pull_4383
load configuration from /root/projects/r3tool/.tomty/env/config.2021_05.pl6
index updated from file:///root/repo/api/v1/index
cat $root_dir/task.bash
$RAKUBIN -v
#$RAKUBIN -e 'my $txt = slurp "/usr/share/dict/words"; $txt.grep( /:i <!after i> e / ) for 1..1000; say now - INIT now'
$RAKUBIN -e 'my $txt = slurp "{@*ARGS[0]}"; $txt.grep( /:i <!after i> e / ) for 1..1000; say now - INIT now' $root_dir/words
Welcome to Rakudo(tm) v2021.05.
Implementing the Raku(tm) programming language v6.d.
Built on MoarVM version 2021.05.
0.0699964
[root@23f7111def19 r3tool]# SP6_FORMAT_TERSE=1 tomty --env=2021_06 pull_4383
load configuration from /root/projects/r3tool/.tomty/env/config.2021_06.pl6
index updated from file:///root/repo/api/v1/index
cat $root_dir/task.bash
$RAKUBIN -v
#$RAKUBIN -e 'my $txt = slurp "/usr/share/dict/words"; $txt.grep( /:i <!after i> e / ) for 1..1000; say now - INIT now'
$RAKUBIN -e 'my $txt = slurp "{@*ARGS[0]}"; $txt.grep( /:i <!after i> e / ) for 1..1000; say now - INIT now' $root_dir/words
Welcome to ๐๐๐ค๐ฎ๐๐จโข v2021.05-43-g4887a169b.
Implementing the ๐๐๐ค๐ฎโข programming language v6.d.
Built on MoarVM version 2021.06.
0.0768358