summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit.rb b/yjit.rb
index a05c2b2d24..1272e1747b 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -60,6 +60,9 @@ module YJIT
$stderr.puts("***YJIT: Printing runtime counters from yjit.rb***")
+ $stderr.puts "Number of Bindings Allocated: %d\n" % counters[:binding_allocation_count]
+ $stderr.puts "Number of locals modified through binding: %d\n" % counters[:local_variable_set_count]
+
print_counters(counters, prefix: 'oswb_', prompt: 'opt_send_without_block exit reasons: ')
print_counters(counters, prefix: 'leave_', prompt: 'leave exit reasons: ')
print_counters(counters, prefix: 'getivar_', prompt: 'getinstancevariable exit reasons:')