Skip to content

Commit 901adb6

Browse files
committed
Allow missing stats for older ZJIT
1 parent 34466b6 commit 901adb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

harness/harness-common.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def return_results(warmup_iterations, bench_iterations)
168168

169169
stats_pads = stats_keys.map(&:size).max + 1
170170
stats_keys.each do |key|
171+
next unless jit_stats.key?(key)
171172
case key
172173
when /_time_ns\z/
173174
key_name = key.to_s.sub(/_time_ns\z/, '_time')

0 commit comments

Comments
 (0)