Skip to content

Commit a763e6d

Browse files
authored
ZJIT: Disable not-annotated cfuncs in --zjit-stats (ruby#14915)
It's mostly a duplicate of not-inlined-cfuncs right now.
1 parent d4ea168 commit a763e6d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

zjit.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def stats_string
153153

154154
# Show counters independent from exit_* or dynamic_send_*
155155
print_counters_with_prefix(prefix: 'not_inlined_cfuncs_', prompt: 'not inlined C methods', buf:, stats:, limit: 20)
156-
print_counters_with_prefix(prefix: 'not_annotated_cfuncs_', prompt: 'not annotated C methods', buf:, stats:, limit: 20)
156+
# Don't show not_annotated_cfuncs right now because it mostly duplicates not_inlined_cfuncs
157+
# print_counters_with_prefix(prefix: 'not_annotated_cfuncs_', prompt: 'not annotated C methods', buf:, stats:, limit: 20)
157158

158159
# Show fallback counters, ordered by the typical amount of fallbacks for the prefix at the time
159160
print_counters_with_prefix(prefix: 'unspecialized_send_def_type_', prompt: 'not optimized method types for send', buf:, stats:, limit: 20)

0 commit comments

Comments
 (0)