Skip to content

Conversation

@tekknolagi
Copy link
Contributor

@tekknolagi tekknolagi commented Oct 30, 2025

We can see send/block call/struct aref/... e.g. on lobsters:

Top-9 not optimized method types for send_without_block (100.0% of total 3,133,812):
                   iseq: 2,004,557 (64.0%)
  optimized_struct_aref:   496,232 (15.8%)
                  alias:   268,579 ( 8.6%)
         optimized_call:   224,883 ( 7.2%)
         optimized_send:   120,531 ( 3.8%)
                bmethod:    12,011 ( 0.4%)
                   null:     4,636 ( 0.1%)
   optimized_block_call:     1,930 ( 0.1%)
                  cfunc:       453 ( 0.0%)

railsbench:

Top-8 not optimized method types for send_without_block (100.0% of total 5,735,608):
                   iseq: 2,854,551 (49.8%)
  optimized_struct_aref:   871,459 (15.2%)
         optimized_call:   862,185 (15.0%)
                  alias:   588,486 (10.3%)
         optimized_send:   482,171 ( 8.4%)
                   null:    39,942 ( 0.7%)
                bmethod:    36,784 ( 0.6%)
                  cfunc:        30 ( 0.0%)

shipit:

Top-10 not optimized method types for send_without_block (100.0% of total 4,844,304):
                   iseq: 2,881,206 (59.5%)
  optimized_struct_aref: 1,158,935 (23.9%)
         optimized_call:   472,898 ( 9.8%)
                  alias:   208,010 ( 4.3%)
         optimized_send:    55,479 ( 1.1%)
                   null:    47,273 ( 1.0%)
                bmethod:    12,608 ( 0.3%)
   optimized_block_call:     7,860 ( 0.2%)
                  cfunc:        31 ( 0.0%)
  optimized_struct_aset:         4 ( 0.0%)

We can see send/block call/struct aref/...
@tekknolagi tekknolagi marked this pull request as ready for review October 30, 2025 17:46
@matzbot matzbot requested a review from a team October 30, 2025 17:46
Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tekknolagi tekknolagi merged commit 6707945 into ruby:master Oct 30, 2025
89 checks passed
@tekknolagi tekknolagi deleted the mb-split-opt-method-type branch October 30, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants