Hi!
Andy Wingo wi...@pobox.com skribis:
Some ballpark measurements of the overhead of the old VM, the new VM,
and C (compiled with gcc -g -O0).
Woow, that looks promising. Thanks for the news.
Ludo’.
Hi,
Some ballpark measurements of the overhead of the old VM, the new VM,
and C (compiled with gcc -g -O0).
Old interpreter:
$ guile --no-debug
(define (countdown* n)
(let lp ((n n))
(if (zero? n)
#t
(lp (1- n)
,time (countdown* 10)
;;
Great!
So If you code the new VM interpreter you get 2x improvement
If you generate code and compile with no optimization about another 3x
If you are able to generate code that compiles with optimisation bsically
using a register
you will get ?
Using a register as a storage on my machine yields