Yenya's World

Wed, 01 Sep 2010

Perl6 - Rakudo

I have installed Fedora 14 Alpha in a virtual machine in order to test emerging technologies like systemd and Perl 6. I have not tried the Perl 6 language features yet, just did several small performance tests:

[root@nausicaa ~]# time perl -e 1

real	0m0.029s
user	0m0.012s
sys	0m0.018s
[root@nausicaa ~]# time perl6 -e 1

real	0m2.773s
user	0m2.137s
sys	0m0.635s
[root@nausicaa ~]# time perl -e 'for (1..10_000) { 42; }'

real	0m0.027s
user	0m0.008s
sys	0m0.019s
[root@nausicaa ~]# time perl6 -e 'for (1..10_000) { 42; }'

real	0m7.705s
user	0m6.779s
sys	0m0.922s

I know Rakudo Perl is not optimized yet, but taking over two seconds just to start the interpreter makes it unusable even for playing and trying.

Section: /computers (RSS feed) | Permanent link | 2 writebacks


Yenya's World: Linux and beyond - Yenya's blog.


RSS feed

Jan "Yenya" Kasprzak

The main page of this blog



Blog roll:

alphabetically :-)