diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-09 10:16:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 10:16:15 -0700 |
commit | d3efce69eaabf1ff81bcdf3631350a87ac0dda28 (patch) | |
tree | 5332b436af42af8a7a34808b6b92c794cf41b607 /yjit.rb | |
parent | c9b30f9d76ec7c726a703a7f8aad95b5998e7d6c (diff) |
YJIT: Count throw instructions for each tag (#8188)
* YJIT: Count throw instructions for each tag
* Show % of each throw type
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'yjit.rb')
-rw-r--r-- | yjit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -279,6 +279,10 @@ module RubyVM::YJIT end out.puts "num_getivar_megamorphic: " + format_number(13, stats[:num_getivar_megamorphic]) out.puts "num_setivar_megamorphic: " + format_number(13, stats[:num_setivar_megamorphic]) + out.puts "num_throw: " + format_number(13, stats[:num_throw]) + out.puts "num_throw_break: " + format_number_pct(13, stats[:num_throw_break], stats[:num_throw]) + out.puts "num_throw_retry: " + format_number_pct(13, stats[:num_throw_retry], stats[:num_throw]) + out.puts "num_throw_return: " + format_number_pct(13, stats[:num_throw_return], stats[:num_throw]) out.puts "iseq_stack_too_large: " + format_number(13, stats[:iseq_stack_too_large]) out.puts "iseq_too_long: " + format_number(13, stats[:iseq_too_long]) |