diff options
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -401,7 +401,6 @@ module RubyVM::YJIT top_n_total = pairs.sum { |name, count| count } top_n_pct = 100.0 * top_n_total / num_calls - longest_name_len = pairs.max_by { |name, count| name.length }.first.length out.puts "Top-#{pairs.size} most frequent #{type} calls (#{"%.1f" % top_n_pct}% of #{type} calls):" @@ -429,7 +428,6 @@ module RubyVM::YJIT out.puts "Top-#{exits.size} most frequent exit ops (#{"%.1f" % top_n_exit_pct}% of exits):" - longest_insn_name_len = exits.max_by { |name, count| name.length }.first.length exits.each do |name, count| padded_count = format_number_pct(10, count, total_exits) out.puts("#{padded_count}: #{name}") |