Re-record two-plane-row-blits' cost at 83741d1029: its heap shadow's CPU copies are counted

a7dae53f73 added WorkCounts::heap_shadow_cpu_copies after this case's cost was
recorded, so its record held 0 where the case makes 6, and development's
whole-set replay at 5f334c5204 reported it over its bound (m3-max-5324). The
work is not new, only counted. Measured on the M3 (conformance cost --runs 8
--write, cost --alone --write and times --runs 8 --write, this case only;
m3-max-5329).

(cherry picked from commit 9dc530c264f5a74aa0e5607fc788b8549cc51888)
This commit is contained in:
Anees Iqbal committed 2026-11-07 14:40:36 -08:00
1 parent 7f390c92e5
commit 279ff436bc
1 file changed
+35 -30
@@ -1861,6 +1861,7 @@
"command_buffers_begun_batch_work": 24,
"command_buffers_begun_encoders": 24,
"command_buffers_submitted": 48,
"command_pools_made": 1,
"commands_recorded.begin_command_buffer": 48,
"commands_recorded.cmd_bind_descriptor_sets": 28,
"commands_recorded.cmd_bind_pipeline": 28,
@@ -1874,36 +1875,40 @@
"commands_recorded.end_command_buffer": 48,
"commits_handed_off": 24,
"commits_taken_in": 24,
"completed_waits": 27,
"completed_waits": 23,
"completed_where_seen": 24,
"completion_arms": 24,
"completion_arms_after_a_wake": 24,
"completion_waiter_parks": 24,
"copy_regions_split": 4,
"device_memory_allocated": 268435456,
"empty_memory_blocks_live": 1,
"encoder_command_buffers_begun": 24,
"fence_waits": 24,
"fences_made": 2,
"finales_folded": 24,
"gate_waits": 24,
"gate_waits_slept": 24,
"heap_shadow_cpu_copies": 6,
"host_texel_copies": 52,
"images_started_on_the_host": 18,
"memory_blocks_live": 3,
"new_buffer_bytes_cleared": 132608,
"object_churn.buffers_evicted": 25,
"object_churn.buffers_parked": 95,
"object_churn.buffers_recycled": 57,
"object_churn.buffers_recycled": 56,
"object_churn.images_other": 4,
"object_churn.images_own_memory": 18,
"object_churn.images_parked": 4,
"object_churn.making_sites_dropped": 4,
"object_churn.textures_image": 18,
"object_churn.textures_in_heaps": 4,
"object_churn.vk_buffer_bindings": 42,
"object_churn.vk_buffers_destroyed": 29,
"object_churn.vk_buffers_made": 42,
"object_churn.vk_buffer_bindings": 46,
"object_churn.vk_buffers_destroyed": 7,
"object_churn.vk_buffers_made": 49,
"object_churn.vk_image_bindings": 22,
"object_churn.vk_images_destroyed": 44,
"object_churn.vk_images_made": 48,
"object_churn.vk_images_destroyed": 48,
"object_churn.vk_images_made": 52,
"object_churn.vk_memory_allocations": 388,
"object_churn.vk_memory_freed": 384,
"owned_descriptor_pools": 32,
"owned_kernel_spirv_bytes": 4824,
"owned_kernels_made": 2,
@@ -1913,12 +1918,12 @@
"requirement_images_made": 4,
"requirement_limits_asked": 4,
"scheduled_where_submitted": 24,
"scheduler_passes": 3,
"scheduler_passes": 1,
"scheduler_passes_by_waiters": 24,
"scheduler_sleeps": 24,
"scheduler_wakes_commit": 24,
"slot_returns": 24,
"spare_command_pools_taken": 24,
"spare_command_pools_taken": 23,
"submit_infos": 24,
"trail_waits": 24,
"wakes_completion_waiters": 24,
@@ -1945,8 +1950,8 @@
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 236,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 4.12 and ours at 4.12; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 272,
"times": {
"case": "two-plane-row-blits",
"calls": 0,
@@ -1967,18 +1972,18 @@
"chip": "apple-m3-max",
"os_build": "26A434",
"rounds": 8,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 3.18 and ours at 2.63; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 233,
"measured": "8 round(s) of the whole selection, in the case set's own order, each round on a fresh device, our shader cache carried over between the cases of a round; a figure is the median of the rounds' own medians; Metal's leg ran at a one-minute load average of 4.12 and ours at 4.12; the legs run one after the other, so the per-call margin is judged only when both are 26.0 or under and within 2.0x of each other",
"instrument": 272,
"times": {
"case": "two-plane-row-blits",
"calls": 22,
"in_calls": 24064332,
"on_cpu": 1887209,
"blocked": 21921039,
"elsewhere": 7392125,
"spend": 31567667,
"spend_least": 28892251,
"spend_most": 33396958,
"in_calls": 19974831,
"on_cpu": 10257209,
"blocked": 9425380,
"elsewhere": 11864250,
"spend": 31839081,
"spend_least": 30310043,
"spend_most": 56101373,
"degraded": [
"metal2vulkan-degrade-shadowed-texture"
],
@@ -1987,14 +1992,14 @@
"call": "work",
"least_calls": 22,
"most_calls": 22,
"wall": 1175750,
"on_cpu": 89333,
"blocked": 1084875,
"wall_least": 1093209,
"wall_most": 1232583,
"wall_total": 24064332,
"on_cpu_total": 1887209,
"blocked_total": 21921039
"wall": 653500,
"on_cpu": 266208,
"blocked": 380292,
"wall_least": 635417,
"wall_most": 881041,
"wall_total": 19974831,
"on_cpu_total": 10257209,
"blocked_total": 9425380
}
]
}