I've not done any significant benchmarking, but he did provide some numbers:
: test dup for dup . CR 1 – next ; 1000000 test byengaro (old):
real [s] 35,47ngaro (new):
user [s] 8,27
sys [s] 1,07
real: [s] 35,13
user [s] 7,46
sys [s] 1,34
: fib dup 1 >if dup 1 RECURSE swap 2 RECURSE + EXIT then drop 1 ; 39 fib bye
ngaro (old):
real [s] 131,23ngaro (new):
user [s] 131,21
sys [s] 0,03
real [s] 77,95
user [s] 77,67
sys [s] 0,04
This is a clear improvement and should continue to get better. I've begun to work on a small benchmark package; once done it'll be easier to test performance tweaks.
No comments:
Post a Comment