@@ -39,12 +39,14 @@ def stats_string
3939 buf = +"***ZJIT: Printing ZJIT statistics on exit***\n "
4040 stats = self . stats
4141
42- # Show exit reasons, ordered by the typical amount of exits for the prefix at the time
42+ # Show non-exit counters
43+ print_counters_with_prefix ( prefix : 'dynamic_send_type_' , prompt : 'dynamic send types' , buf :, stats :, limit : 20 )
44+ print_counters_with_prefix ( prefix : 'send_fallback_' , prompt : 'send fallback def_types' , buf :, stats :, limit : 20 )
45+
46+ # Show exit counters, ordered by the typical amount of exits for the prefix at the time
4347 print_counters_with_prefix ( prefix : 'unhandled_yarv_insn_' , prompt : 'unhandled YARV insns' , buf :, stats :, limit : 20 )
4448 print_counters_with_prefix ( prefix : 'compile_error_' , prompt : 'compile error reasons' , buf :, stats :, limit : 20 )
4549 print_counters_with_prefix ( prefix : 'exit_' , prompt : 'side exit reasons' , buf :, stats :, limit : 20 )
46- print_counters_with_prefix ( prefix : 'dynamic_send_type_' , prompt : 'dynamic send types' , buf :, stats :, limit : 20 )
47- print_counters_with_prefix ( prefix : 'send_fallback_' , prompt : 'send fallback def_types' , buf :, stats :, limit : 20 )
4850
4951 # Show the most important stats ratio_in_zjit at the end
5052 print_counters ( [
0 commit comments