From d362164e4769bf6ba4b775afba99016a5cd33927 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 21 Nov 2026 07:14:06 -0800 Subject: [PATCH] conformance: the three GPU-range rows carry Metal's timings What: conformance times --runs 8 --write over the three rows on the M3 Max (job m3-max-63614, e51906ea43): encoded_range 9.8 ms of wall time a call over 3 calls, the call's own command buffer and its read-back included. Why: times::every_case_is_timed::every_case_carries_its_timing asks every case for its timing. Verified: job m3-max-63614 (STEP times EXIT=0, 3 cases carry their timing). --- .../indirect-range-gpu-written-at-zero.json | 62 +++++++++++++++++++ .../indirect-range-gpu-written-past-zero.json | 62 +++++++++++++++++++ ...rect-range-written-by-an-earlier-draw.json | 62 +++++++++++++++++++ 3 files changed, 186 insertions(+) diff --git a/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-at-zero.json b/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-at-zero.json index 7a8157f78..e647941b4 100644 --- a/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-at-zero.json +++ b/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-at-zero.json @@ -357,5 +357,67 @@ ], "validated": "ran" } + ], + "times": [ + { + "venue": "native Metal", + "chip": "apple-m3-max", + "os_build": "26A434", + "rounds": 8, + "measured": "8 round(s) of the whole selection, in the case set's own order; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 6.96", + "instrument": 286, + "times": { + "case": "indirect-range-gpu-written-at-zero", + "calls": 10, + "in_calls": 44150791, + "on_cpu": 2092292, + "blocked": 42219750, + "elsewhere": 8478084, + "spend": 52535749, + "spend_least": 50470833, + "spend_most": 377166127, + "per_call": [ + { + "call": "buffer", + "least_calls": 8, + "most_calls": 8, + "wall": 6750, + "on_cpu": 6958, + "blocked": 0, + "wall_least": 6541, + "wall_most": 8333, + "wall_total": 92542, + "on_cpu_total": 94041, + "blocked_total": 0 + }, + { + "call": "encoded_range", + "least_calls": 1, + "most_calls": 1, + "wall": 9836791, + "on_cpu": 992625, + "blocked": 8837792, + "wall_least": 9554583, + "wall_most": 11923375, + "wall_total": 9836791, + "on_cpu_total": 992625, + "blocked_total": 8837792 + }, + { + "call": "library", + "least_calls": 1, + "most_calls": 1, + "wall": 33970792, + "on_cpu": 1008041, + "blocked": 33119083, + "wall_least": 32560791, + "wall_most": 355613167, + "wall_total": 33970792, + "on_cpu_total": 1008041, + "blocked_total": 33119083 + } + ] + } + } ] } diff --git a/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-past-zero.json b/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-past-zero.json index 6e2a0d7b2..66a16acfd 100644 --- a/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-past-zero.json +++ b/crates/metal2vulkan-conformance/recordings/indirect-range-gpu-written-past-zero.json @@ -357,5 +357,67 @@ ], "validated": "ran" } + ], + "times": [ + { + "venue": "native Metal", + "chip": "apple-m3-max", + "os_build": "26A434", + "rounds": 8, + "measured": "8 round(s) of the whole selection, in the case set's own order; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 6.96", + "instrument": 286, + "times": { + "case": "indirect-range-gpu-written-past-zero", + "calls": 10, + "in_calls": 42416000, + "on_cpu": 1954831, + "blocked": 40462750, + "elsewhere": 8454084, + "spend": 50870084, + "spend_least": 48715293, + "spend_most": 57928289, + "per_call": [ + { + "call": "buffer", + "least_calls": 8, + "most_calls": 8, + "wall": 6458, + "on_cpu": 6625, + "blocked": 0, + "wall_least": 6125, + "wall_most": 6875, + "wall_total": 86874, + "on_cpu_total": 89499, + "blocked_total": 0 + }, + { + "call": "encoded_range", + "least_calls": 1, + "most_calls": 1, + "wall": 9711500, + "on_cpu": 962625, + "blocked": 8793667, + "wall_least": 9346834, + "wall_most": 9990083, + "wall_total": 9711500, + "on_cpu_total": 962625, + "blocked_total": 8793667 + }, + { + "call": "library", + "least_calls": 1, + "most_calls": 1, + "wall": 32610416, + "on_cpu": 907625, + "blocked": 31669083, + "wall_least": 30646542, + "wall_most": 39226541, + "wall_total": 32610416, + "on_cpu_total": 907625, + "blocked_total": 31669083 + } + ] + } + } ] } diff --git a/crates/metal2vulkan-conformance/recordings/indirect-range-written-by-an-earlier-draw.json b/crates/metal2vulkan-conformance/recordings/indirect-range-written-by-an-earlier-draw.json index 89d7ae7e0..d1dc704be 100644 --- a/crates/metal2vulkan-conformance/recordings/indirect-range-written-by-an-earlier-draw.json +++ b/crates/metal2vulkan-conformance/recordings/indirect-range-written-by-an-earlier-draw.json @@ -398,5 +398,67 @@ ], "validated": "ran" } + ], + "times": [ + { + "venue": "native Metal", + "chip": "apple-m3-max", + "os_build": "26A434", + "rounds": 8, + "measured": "8 round(s) of the whole selection, in the case set's own order; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 6.96", + "instrument": 286, + "times": { + "case": "indirect-range-written-by-an-earlier-draw", + "calls": 11, + "in_calls": 74839664, + "on_cpu": 3109417, + "blocked": 71592667, + "elsewhere": 8484875, + "spend": 82984668, + "spend_least": 81892459, + "spend_most": 89882791, + "per_call": [ + { + "call": "buffer", + "least_calls": 8, + "most_calls": 8, + "wall": 6625, + "on_cpu": 6833, + "blocked": 0, + "wall_least": 6458, + "wall_most": 7125, + "wall_total": 90709, + "on_cpu_total": 92294, + "blocked_total": 0 + }, + { + "call": "encoded_range", + "least_calls": 1, + "most_calls": 1, + "wall": 9886458, + "on_cpu": 1071708, + "blocked": 8850625, + "wall_least": 9479333, + "wall_most": 10142458, + "wall_total": 9886458, + "on_cpu_total": 1071708, + "blocked_total": 8850625 + }, + { + "call": "library", + "least_calls": 2, + "most_calls": 2, + "wall": 31343417, + "on_cpu": 952250, + "blocked": 30363376, + "wall_least": 30840750, + "wall_most": 34334916, + "wall_total": 64717500, + "on_cpu_total": 1933666, + "blocked_total": 62585208 + } + ] + } + } ] }