rubyx/test/bench/ruby/hello.rb
Torsten 6273ab769c 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
2019-07-30 13:55:29 +03:00

9 lines
164 B
Ruby

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