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