class Benchkit::BenchmarkResult
Public Instance Methods
elapsed_time_of(exec)
click to toggle source
# File lib/benchkit.rb, line 169 def elapsed_time_of(exec) metrics_by_exec.fetch(exec).elapsed_time end
ips_of(exec)
click to toggle source
# File lib/benchkit.rb, line 173 def ips_of(exec) iterations_of(exec) / elapsed_time_of(exec) end
iterations_of(exec)
click to toggle source
# File lib/benchkit.rb, line 165 def iterations_of(exec) metrics_by_exec.fetch(exec).iterations end