ruby/benchmark/ractor_float_to_s.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 строки
176 B
YAML
Исходник Обычный вид История

type: lib/benchmark_driver/runner/ractor
prelude: |
FLOATS = [*0.0.step(1.0, 0.001)]
benchmark:
ractor_float_to_s: |
FLOATS.each {|f| f.to_s}
loop_count: 100
ractor: 2