diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-15 13:59:50 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
commit | 82405ac48ae457de9b54e18545743ab2a58bf989 (patch) | |
tree | 78f93006baea9bd119e8ad93221a1581249f843a /yjit.rb | |
parent | 1f09eb66e6cc1019ba88e421f1ba8186c071a6ed (diff) |
Add counters for tracking invalidations
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -177,6 +177,9 @@ module YJIT yjit_ratio_pct = 100.0 * retired_in_yjit.to_f / total_insns_count $stderr.puts "compiled_iseq_count: " + ("%10d" % stats[:compiled_iseq_count]) + $stderr.puts "compiled_block_count: " + ("%10d" % stats[:compiled_block_count]) + $stderr.puts "invalidation_count: " + ("%10d" % stats[:invalidation_count]) + $stderr.puts "constant_state_bumps: " + ("%10d" % stats[:constant_state_bumps]) $stderr.puts "inline_code_size: " + ("%10d" % stats[:inline_code_size]) $stderr.puts "outlined_code_size: " + ("%10d" % stats[:outlined_code_size]) |