add simple loop bench
fiddled with run numbers a bit recording times with noop removed results slightly worse than hoped
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
|
||||
counter = 100000;
|
||||
counter = 10000;
|
||||
while(counter > 0) do
|
||||
puts "Hello there"
|
||||
# roughly 4 times slower with this, which is like rubyx
|
||||
#STDOUT.flush
|
||||
STDOUT.flush
|
||||
counter = counter - 1
|
||||
end
|
||||
|
Reference in New Issue
Block a user