1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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