/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

  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