Skip to content

Instantly share code, notes, and snippets.

@shugo
Created June 9, 2026 10:54
Show Gist options
  • Select an option

  • Save shugo/ddfe92f28ea31e6527a2f270e6daee7c to your computer and use it in GitHub Desktop.

Select an option

Save shugo/ddfe92f28ea31e6527a2f270e6daee7c to your computer and use it in GitHub Desktop.
master vs feature/proc-with_refinements benchmark result
/home/shugo/.rbenv/shims/ruby --disable=gems -rrubygems -I./benchmark/lib ./benchmark/benchmark-driver/exe/benchmark-driver \
--executables="compare-ruby::/home/shugo/src/ruby/ruby -I.ext/common --disable-gem" \
--executables="built-ruby::./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems --disable-gem" \
--output=markdown --output-compare -v $(find ./benchmark -maxdepth 1 -name 'vm' -o -name '*vm*.yml' -o -name '*vm*.rb' | sort)
compare-ruby: ruby 4.1.0dev (2026-01-06T04:38:13Z master ad6b85450d) +PRISM [x86_64-linux]
built-ruby: ruby 4.1.0dev (2026-06-09T07:45:27Z feature/proc-with_.. d58b477bf8) +PRISM [x86_64-linux]
warming up...............................................
# Iteration per second (i/s)
| |compare-ruby|built-ruby|
|:------------------------------------|-----------:|---------:|
|vm_array | 41.050M| 44.612M|
| | -| 1.09x|
|vm_attr_ivar | 66.719M| 65.302M|
| | 1.02x| -|
|vm_attr_ivar_set | 61.566M| 54.211M|
| | 1.14x| -|
|vm_backtrace | 13.678| 14.190|
| | -| 1.04x|
|vm_bigarray | 40.614M| 42.697M|
| | -| 1.05x|
|vm_bighash | 414.909k| 818.536k|
| | -| 1.97x|
|vm_block | 40.779M| 44.602M|
| | -| 1.09x|
|block_handler_type_iseq | 16.523| 17.404|
| | -| 1.05x|
|block_handler_type_symbol | 11.187| 10.908|
| | 1.03x| -|
|block_handler_type_proc | 14.484| 15.737|
| | -| 1.09x|
|vm_blockparam | 46.243M| 44.039M|
| | 1.05x| -|
|vm_blockparam_call | 25.450M| 27.305M|
| | -| 1.07x|
|vm_blockparam_pass | 21.843M| 21.615M|
| | 1.01x| -|
|vm_blockparam_yield | 29.589M| 31.089M|
| | -| 1.05x|
|bmethod_simple_0 | 67.250M| 69.801M|
| | -| 1.04x|
|bmethod_simple_1 | 63.431M| 63.239M|
| | 1.00x| -|
|bmethod_simple_0_splat | 49.303M| 44.469M|
| | 1.11x| -|
|bmethod_simple_1_splat | 42.585M| 43.807M|
| | -| 1.03x|
|bmethod_no_splat | 27.864M| 30.539M|
| | -| 1.10x|
|bmethod_0_splat | 21.021M| 23.981M|
| | -| 1.14x|
|bmethod_1_splat | 20.321M| 23.566M|
| | -| 1.16x|
|bmethod_10_splat | 16.722M| 19.925M|
| | -| 1.19x|
|bmethod_100_splat | 9.145M| 13.793M|
| | -| 1.51x|
|bmethod_kw | 37.574M| 36.375M|
| | 1.03x| -|
|bmethod_no_kw | 38.060M| 40.034M|
| | -| 1.05x|
|bmethod_kw_splat | 29.584M| 27.955M|
| | 1.06x| -|
|1 | 15.717M| 13.977M|
| | 1.12x| -|
|1_mutable | 7.052M| 7.101M|
| | -| 1.01x|
|10 | 8.817M| 9.073M|
| | -| 1.03x|
|10_mutable | 2.190M| 2.271M|
| | -| 1.04x|
|100 | 2.577M| 3.087M|
| | -| 1.20x|
|100_mutable | 309.032k| 317.011k|
| | -| 1.03x|
|1000 | 493.505k| 488.971k|
| | 1.01x| -|
|1000_mutable | 32.029k| 32.964k|
| | -| 1.03x|
|method_missing_simple_0 | 23.926M| 20.961M|
| | 1.14x| -|
|method_missing_simple_1 | 21.516M| 23.510M|
| | -| 1.09x|
|method_missing_simple_0_splat | 22.472M| 19.664M|
| | 1.14x| -|
|method_missing_simple_1_splat | 20.706M| 19.971M|
| | 1.04x| -|
|method_missing_no_splat | 14.586M| 15.766M|
| | -| 1.08x|
|method_missing_0_splat | 11.493M| 11.890M|
| | -| 1.03x|
|method_missing_1_splat | 12.381M| 12.790M|
| | -| 1.03x|
|method_missing_10_splat | 10.201M| 10.775M|
| | -| 1.06x|
|method_missing_200_splat | 5.625M| 4.428M|
| | 1.27x| -|
|method_missing_kw | 19.853M| 18.082M|
| | 1.10x| -|
|method_missing_no_kw | 21.703M| 21.323M|
| | 1.02x| -|
|method_missing_kw_splat | 15.102M| 14.547M|
| | 1.04x| -|
|method_missing_0_splat_kw | 9.643M| 9.756M|
| | -| 1.01x|
|method_missing_1_splat_kw | 10.379M| 9.624M|
| | 1.08x| -|
|method_missing_10_splat_kw | 8.570M| 9.056M|
| | -| 1.06x|
|method_missing_200_splat_kw | 4.634M| 4.125M|
| | 1.12x| -|
|send_simple_0 | 30.830M| 27.890M|
| | 1.11x| -|
|send_simple_1 | 29.307M| 26.029M|
| | 1.13x| -|
|send_simple_0_splat | 25.625M| 24.861M|
| | 1.03x| -|
|send_simple_1_splat | 24.402M| 23.168M|
| | 1.05x| -|
|send_simple_0_splat_comb | 23.198M| 22.862M|
| | 1.01x| -|
|send_simple_1_splat_comb |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment