diff options
author | Nithin Bekal <[email protected]> | 2024-09-26 23:37:36 -0400 |
---|---|---|
committer | git <[email protected]> | 2024-09-27 04:31:47 +0000 |
commit | 3209bb950b07e80a5c32f68e445718be03eb44f0 () | |
tree | bf6959fc918320403c5c9b32d784ccb60ba24cba /lib/benchmark.rb | |
parent | dc8fa59fb0f1844bb6c44ccba5982b9253f56da0 (diff) |
[ruby/benchmark] Specify unit of time for Benchmark.realtime
https://.com/ruby/benchmark/commit/388236685c
-rw-r--r-- | lib/benchmark.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -307,6 +307,7 @@ module Benchmark # # Returns the elapsed real time used to execute the given block. # def realtime # :yield: r0 = Process.clock_gettime(Process::CLOCK_MONOTONIC) |