/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
- def Bench.run
- i = 0
- while @should_run
- # string#gsub(...)
- raise "string#gsub(...) benchmark is not implemented"
- i += 1
- end
- @iterations = i
- end