PageRenderTime 41ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/rubinius/rubinius
Ruby | 10 lines | 8 code | 1 blank | 1 comment | 1 complexity | ea14d100367729841c908838cf96102b MD5 | raw file
Possible License(s): BSD-3-Clause, MPL-2.0-no-copyleft-exception, 0BSD, GPL-2.0, LGPL-2.1
  1. def Bench.run
  2. i = 0
  3. while @should_run
  4. # string#gsub(...)
  5. raise "string#gsub(...) benchmark is not implemented"
  6. i += 1
  7. end
  8. @iterations = i
  9. end