Skip to content

Commit 7a40f85

Browse files
committed
ZJIT: Move ivar stats out of "send" stats group
Previously, `:dynamic_setivar_count`, `:dynamic_getivar_count`, and `:dynamic_definedivar_count` had a percentage to the right of them in the printout with the denominator being `:send_count`. These are not sends, so move them out of the group.
1 parent 2f889f7 commit 7a40f85

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

zjit.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ def stats_string
129129
:send_count,
130130
:dynamic_send_count,
131131
:optimized_send_count,
132-
:dynamic_setivar_count,
133-
:dynamic_getivar_count,
134-
:dynamic_definedivar_count,
135132
:iseq_optimized_send_count,
136133
:inline_cfunc_optimized_send_count,
137134
:inline_iseq_optimized_send_count,
@@ -140,6 +137,10 @@ def stats_string
140137
:variadic_cfunc_optimized_send_count,
141138
], buf:, stats:, right_align: true, base: :send_count)
142139
print_counters([
140+
:dynamic_setivar_count,
141+
:dynamic_getivar_count,
142+
:dynamic_definedivar_count,
143+
143144
:compiled_iseq_count,
144145
:compiled_side_exit_count,
145146
:failed_iseq_count,

0 commit comments

Comments
 (0)