diff options
author | Noah Gibbs <noah.gibbs@shopify.com> | 2021-06-30 09:41:19 +0100 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | e2fe7e4aff27f498d56e44586276558355da34dd (patch) | |
tree | 691c8ff5def8384f55b30fe101eb2a2f1f7195af /yjit.rb | |
parent | db02d73e5e0489dd2028ea4b9572361ed5aa2cc9 (diff) | |
download | ruby-e2fe7e4aff27f498d56e44586276558355da34dd.tar.gz |
Percentages should be out of 100.0%, not 1.0%.
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ module YJIT total_exits = total_exit_count(stats) top_n_total = exits.map { |name, count| count }.sum - top_n_exit_pct = top_n_total / total_exits + top_n_exit_pct = 100.0 * top_n_total / total_exits $stderr.puts "Top-#{how_many} most frequent exit ops (#{"%.1f" % top_n_exit_pct}% of exits):" |