[前][次][番号順一覧][スレッド一覧]

ruby-changes:69040

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:20:37 +0900 (JST)
Subject: [ruby-changes:69040] 8249f6ef57 (master): Print top-20 common exit reasons instead of just top-10 (#19)

https://git.ruby-lang.org/ruby.git/commit/?id=8249f6ef57

From 8249f6ef57df76d2789b728f0646a34dbf207c94 Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maximechevalierb@g...>
Date: Thu, 29 Apr 2021 15:09:31 -0400
Subject: 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) https://github.com/ruby/ruby/blob/trunk/yjit_iface.c#L927
     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
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]