Skip to content

Commit cc8984f

Browse files
authored
Print top-20 common exit reasons instead of just top-10 (#19)
1 parent 8476860 commit cc8984f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yjit_iface.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ print_yjit_stats(void)
927927
fprintf(stderr, "ratio_in_yjit: %9.1f%%\n", ratio * 100);
928928
fprintf(stderr, "avg_len_in_yjit: %10.1f\n", avg_len_in_yjit);
929929

930-
// Print the top-10 most frequent exit ops
931-
print_insn_count_buffer(10, 4);
930+
// Print the top-N most frequent exit ops
931+
print_insn_count_buffer(20, 4);
932932
}
933933
#endif // if RUBY_DEBUG
934934

0 commit comments

Comments
 (0)