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:
2019-07-31 21:18:03 +03:00
parent 8eb0ba0d81
commit 6b1c316f04
17 changed files with 51 additions and 33 deletions

View File

@ -17,7 +17,7 @@ class Stats
def show
#puts "no per var"
puts "#{@n} #{@mean} #{@variance / @n}"
puts "#{@n} #{(@mean*1000).truncate(1)} #{((@variance / @n)*100).truncate(2)}"
end
end
class Runner