mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
4a4c502825
I wanted to dynamically generate benchmark cases to test various number of methods. Thus I added a dedicated runner of benchmark-driver.
10 lines
359 B
YAML
10 lines
359 B
YAML
# Usage:
|
|
# RUBYOPT=-Ibenchmark/lib benchmark-driver -e 'ruby --jit' benchmark/mjit_exec_vm2jt.yml
|
|
type: mjit_exec # benchmark/lib/benchmark_driver/runner/mjit_exec.rb
|
|
num_methods: [1]
|
|
#num_methods: [1, 10, 20, 30, 40, 50, 100, 200, 500, 1000]
|
|
#num_methods: (1..100)
|
|
#num_methods: (1..10).map { |i| i * 10 }
|
|
loop_count: 10000000
|
|
from_jit: false
|
|
to_jit: true
|