rubinius /benchmark/core/methods/string/gsub.rb

Language Ruby Lines 11
MD5 Hash ea14d100367729841c908838cf96102b Estimated Cost $170 (why?)
Repository git://github.com/rubinius/rubinius.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
def Bench.run
  i = 0
  while @should_run
    # string#gsub(...)
    raise "string#gsub(...) benchmark is not implemented"
    i += 1
  end

  @iterations = i
end
Back to Top