Benchmarking perl 5 and perl 6: part I - loading overhead
I know rakudo star is in its first releases. But it helps if we can start looking to it as a complete tool instead of a prototype, or we will never get out of the prototype.
Therefore, I decided to perform a simple test: run the usual "hello world" program from the command line, both with Perl 5 and Perl 6. After a bunch of runs, the average measures are:
$time perl -E 'say "hello"'
$ time perl6 -e 'say "hello"'
Expecting that the process of outputting a string if fast, this means that loading parrot and loading Perl 6 over it, takes about 1.163 seconds, while loading Perl 5 interpreter takes about 0.009 seconds.
In future posts I will try to compare commands efficiency.