redid the old benchmarks

With #26 out of the way, was able to get meaningful rubyx benchmarks. Meaning loops large enough for the exec time to go significantly over the noop.
Did mruby too and as expected got much lower noop
This commit is contained in:
2019-07-30 13:55:29 +03:00
parent ab87806d08
commit 6273ab769c
8 changed files with 68 additions and 13 deletions

View File

@ -8,7 +8,7 @@ def fibo_r( n )
end
counter = 100
counter = 10000
while(counter > 0) do
fibo_r(10)

View File

@ -2,5 +2,7 @@
counter = 100000;
while(counter > 0) do
puts "Hello there"
# roughly 4 times slower with this, which is like rubyx
#STDOUT.flush
counter = counter - 1
end