From 8249f6ef57df76d2789b728f0646a34dbf207c94 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Thu, 29 Apr 2021 15:09:31 -0400 Subject: [PATCH] Print top-20 common exit reasons instead of just top-10 (#19) --- yjit_iface.c | 4 ++-- 1 file 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