summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-16 15:31:13 -0800
committerGitHub <noreply@github.com>2022-11-16 15:31:13 -0800
commit1b8236acc212a6751da7248eb3f22b0262ca0623 (patch)
treeebac24f25950ee44e1233763c9fffb6ec013839c /yjit.rb
parent6de4032e407b5e4bcf837332b9980a5892282df8 (diff)
downloadruby-1b8236acc212a6751da7248eb3f22b0262ca0623.tar.gz
YJIT: Add compiled_branch_count stats (#6746)
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index 2d430557fd..eb5376c9c5 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -254,8 +254,9 @@ module RubyVM::YJIT
$stderr.puts "bindings_allocations: " + ("%10d" % stats[:binding_allocations])
$stderr.puts "bindings_set: " + ("%10d" % stats[:binding_set])
$stderr.puts "compilation_failure: " + ("%10d" % compilation_failure) if compilation_failure != 0
- $stderr.puts "compiled_block_count: " + ("%10d" % stats[:compiled_block_count])
$stderr.puts "compiled_iseq_count: " + ("%10d" % stats[:compiled_iseq_count])
+ $stderr.puts "compiled_block_count: " + ("%10d" % stats[:compiled_block_count])
+ $stderr.puts "compiled_branch_count: " + ("%10d" % stats[:compiled_branch_count])
$stderr.puts "freed_iseq_count: " + ("%10d" % stats[:freed_iseq_count])
$stderr.puts "invalidation_count: " + ("%10d" % stats[:invalidation_count])
$stderr.puts "constant_state_bumps: " + ("%10d" % stats[:constant_state_bumps])