Skip to content

Commit c398455

Browse files
authored
Merge pull request #485 from ruby/rwstauner/more-zjit-stats
Add compile time and side exit size stats to zjit_diff
2 parents 92d98e5 + e3ebd72 commit c398455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

misc/zjit_diff.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class ZjitDiff
2929
{ prefix: 'invokeblock_handler_', prompt: 'invokeblock handler' },
3030
{ prefix: 'getblockparamproxy_handler_', prompt: 'getblockparamproxy handler' },
3131
{ prefix: 'complex_arg_pass_', prompt: 'complex argument-parameter features' },
32+
{ prefix: 'compile_hir_', prompt: 'compile HIR pass timings' },
3233
{ prefix: 'compile_error_', prompt: 'compile error reasons' },
3334
{ prefix: 'unhandled_yarv_insn_', prompt: 'unhandled YARV insns' },
3435
{ prefix: 'unhandled_hir_insn_', prompt: 'unhandled HIR insns' },
@@ -68,7 +69,10 @@ class ZjitDiff
6869
code_region_bytes
6970
zjit_alloc_bytes
7071
total_mem_bytes
72+
compile_lir_time_ns
73+
compile_side_exit_time_ns
7174
side_exit_count
75+
side_exit_size
7276
total_insn_count
7377
vm_insn_count
7478
zjit_insn_count

0 commit comments

Comments
 (0)