mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
11 lines
241 B
YAML
11 lines
241 B
YAML
|
type: lib/benchmark_driver/runner/mjit
|
||
|
prelude: |
|
||
|
def mjit_struct_aref(struct)
|
||
|
struct.aa
|
||
|
end
|
||
|
struct = Struct.new(:a0, :a1, :a2, :a3, :a4, :a5, :a6, :a7, :a8, :a9, :aa).new
|
||
|
|
||
|
benchmark: mjit_struct_aref(struct)
|
||
|
|
||
|
loop_count: 40000000
|