mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: Add a few missing counters for send fallback (#8681)
This commit is contained in:
parent
1f7234c015
commit
d458b4127f
3 changed files with 7 additions and 4 deletions
2
yjit.rb
2
yjit.rb
|
@ -295,7 +295,7 @@ module RubyVM::YJIT
|
|||
out.puts "num_send: " + format_number(13, stats[:num_send])
|
||||
out.puts "num_send_known_class: " + format_number_pct(13, stats[:num_send_known_class], stats[:num_send])
|
||||
out.puts "num_send_polymorphic: " + format_number_pct(13, stats[:num_send_polymorphic], stats[:num_send])
|
||||
out.puts "num_send_megamorphic: " + format_number_pct(13, stats[:num_send_megamorphic], stats[:num_send])
|
||||
out.puts "num_send_megamorphic: " + format_number_pct(13, stats[:send_megamorphic], stats[:num_send])
|
||||
out.puts "num_send_dynamic: " + format_number_pct(13, stats[:num_send_dynamic], stats[:num_send])
|
||||
if stats[:num_send_x86_rel32] != 0 || stats[:num_send_x86_reg] != 0
|
||||
out.puts "num_send_x86_rel32: " + format_number(13, stats[:num_send_x86_rel32])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue