4 ms·
I'm impressed by the bbv idea, but not about the startup-time overhead which is even worse than perl6 or the jvm. Even if the run-time of big loops is later on
by rurban 12y ago
I'm impressed by the bbv idea, but not about the startup-time overhead which is even worse than perl6 or the jvm. Even if the run-time of big loops is later on faster than v8.
$ time ./higgs --e "var x = 4; x = x + 5; print(x)"
9
real 0m1.191s
e.g. my own little jitted language which compiles also to C like asm with tagged data, but with inner-loop type-checks, does it in
$ time bin/potion -e'x = 4, x = x + 5, x print'
9
real 0m0.005s
so I don't buy the compiler overhead yet. type checks are not that slow.
$ time ./perl6-p -e'my $x=4; $x=$x+5; print $x'
9
real 0m0.818s
$ time ./perl6-m -e'my $x=4; $x=$x+5; print $x'
9
real 0m0.614s
and uncompiled:
$ time perl -e'my $x=4; $x=$x+5; print $x'
9
real 0m0.010s