1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Print top-20 common exit reasons instead of just top-10 (#19)

This commit is contained in:
Maxime Chevalier-Boisvert 2021-04-29 15:09:31 -04:00 committed by Alan Wu
parent 684e84df7c
commit 8249f6ef57

View file

@ -927,8 +927,8 @@ print_yjit_stats(void)
fprintf(stderr, "ratio_in_yjit: %9.1f%%\n", ratio * 100);
fprintf(stderr, "avg_len_in_yjit: %10.1f\n", avg_len_in_yjit);
// Print the top-10 most frequent exit ops
print_insn_count_buffer(10, 4);
// Print the top-N most frequent exit ops
print_insn_count_buffer(20, 4);
}
#endif // if RUBY_DEBUG