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:
@ -8,7 +8,7 @@ def fibo_r( n )
|
||||
end
|
||||
|
||||
|
||||
counter = 100
|
||||
counter = 10000
|
||||
|
||||
while(counter > 0) do
|
||||
fibo_r(10)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user