1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/mjit_kernel.yml

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

21 lines
288 B
YAML
Raw Normal View History

type: lib/benchmark_driver/runner/mjit
prelude: |
def mjit_class(obj)
obj.class
end
def mjit_frozen?(obj)
obj.frozen?
end
str = ""
fstr = "".freeze
benchmark:
- mjit_class(self)
- mjit_class(1)
- mjit_frozen?(str)
- mjit_frozen?(fstr)
loop_count: 40000000