aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-24 02:03:06 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-24 02:03:06 +0000
commit249bd1ed2a00c9c3defdd09224b22a6691f73789 (patch)
treed27e5f87525fcb6e333766b4bdeb25ee5b31b13c /math.c
parentccbeb0d6dce7e38d98232f91fc0b4bbdc499674f (diff)
downloadruby-249bd1ed2a00c9c3defdd09224b22a6691f73789.tar.gz
lib/benchmark.rb: speedup by reducing allocations
* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK (realtime): use Process.clock_gettime(BENCHMARK_CLOCK) [Feature #10165] * test/benchmark/test_benchmark.rb (test_realtime_output): new test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
0 files changed, 0 insertions, 0 deletions