diff options
author | Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> | 2021-04-29 15:09:31 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:34 -0400 |
commit | 8249f6ef57df76d2789b728f0646a34dbf207c94 (patch) | |
tree | 0d9dcdd4413900ece94322c98fe78f200df33882 /yjit_iface.c | |
parent | 684e84df7cdfd47d2b66d717369121337a2bd32d (diff) |
Print top-20 common exit reasons instead of just top-10 (#19)
Diffstat (limited to 'yjit_iface.c')
-rw-r--r-- | yjit_iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit_iface.c b/yjit_iface.c index a84cf0d323..1f9e589960 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -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 |