1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/kernel_then.yml
Takashi Kokubun 24fa37d87a
Make Kernel#then, #yield_self, #frozen? builtin (#3283)
* Make Kernel#then, #yield_self, #frozen? builtin

* Fix test_jit
2020-07-03 18:02:43 -07:00

6 lines
182 B
YAML

benchmark:
kernel_then: 1.then { |i| i + 1 }
kernel_then_enum: 1.then
kernel_yield_self: 1.yield_self { |i| i + 1 }
kernel_yield_self_enum: 1.yield_self
loop_count: 20000000