{ "format": 1, "case": "event-held-command-buffer", "suite_version": 1, "answers": [ { "key": { "chip": "apple-m3-max", "os_version": "27.0.1", "os_build": "26A434", "metal_level": "27.0.1" }, "provenance": "metal_run", "device": "Apple M3 Max", "runs": 5, "outcomes": [ { "runs": 5, "transcript": { "root": { "name": "case", "observed": { "value": "absent" }, "children": [ { "name": "inputs", "observed": { "value": "absent" }, "children": [ { "name": "scratch-bytes", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "2e22fd435060cd5d3cf5e3ef39f79e198b35bd2c4af31974db36601b3a2f4c91" } } }, { "name": "wait-bounds-millis", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "15974581de1a64a38d73ffa2754e6c85bcf978e607026240ebb64d1cbac16ca1" } } }, { "name": "handler-names", "observed": { "value": "absent", "digest": { "kind": "sha256", "hex": "9a43ced3dbb398a5cb9df2bc92ad3c78b96a100c603b2cc4dfb706981cdde886" } } } ] }, { "name": "order", "observed": { "value": "absent" }, "children": [ { "name": "other-queue/status-once-it-completed", "observed": { "value": { "variant": { "name": "Completed", "payload": "absent" } } } }, { "name": "held/status-while-its-event-is-unsignalled", "observed": { "value": { "variant": { "name": "Committed", "payload": "absent" } } } }, { "name": "behind/status-while-its-event-is-unsignalled", "observed": { "value": { "variant": { "name": "Committed", "payload": "absent" } } } }, { "name": "held/handlers-while-its-event-is-unsignalled", "observed": { "value": { "nothing": "ran_nothing" } } }, { "name": "held/handlers-once-the-host-signalled", "observed": { "value": { "lines": [ "scheduled", "completed" ] } } }, { "name": "held/status-at-the-end", "observed": { "value": { "variant": { "name": "Completed", "payload": "absent" } } } }, { "name": "behind/status-at-the-end", "observed": { "value": { "variant": { "name": "Completed", "payload": "absent" } } } } ] }, { "name": "notices", "observed": { "value": "absent" }, "children": [ { "name": "set", "observed": { "value": { "nothing": "announced_nothing" } } }, { "name": "counts", "observed": { "value": { "fields": {} } } } ] } ] } } } ], "validated": "ran" } ], "costs": [ { "venue": "Apple M3 Max", "runs": 8, "measured": "8 run(s) of the whole selection on Apple M3 Max, in the case set's own order, the largest each count reached", "contrasted": "8 run(s) of each case on its own on Apple M3 Max, nothing before it on the device, the largest each count reached", "bounds": { "addressable_buffers_made": 2, "bare_starts": 2, "batches_held_past_a_look": 1, "batches_submitted_by_waiters": 1, "batches_with_none_pending": 2, "batches_with_one_pending": 1, "blocks_ahead_waited_for": 3, "buffer_blocks_made_ahead": 2, "buffer_blocks_made_in_place": 2, "command_buffers_begun": 5, "command_buffers_begun_batch_barriers": 1, "command_buffers_begun_batch_work": 1, "command_buffers_begun_encoders": 3, "command_buffers_submitted": 5, "command_pools_made": 1, "commands_recorded.begin_command_buffer": 6, "commands_recorded.cmd_copy_buffer": 1, "commands_recorded.cmd_fill_buffer": 3, "commands_recorded.cmd_pipeline_barrier": 6, "commands_recorded.end_command_buffer": 5, "commits_handed_off": 3, "commits_taken_in": 3, "completed_waits": 8, "completed_where_seen": 1, "completion_arms": 3, "completion_arms_after_a_wake": 3, "completion_reads_ran_ahead": 1, "completion_waiter_parks": 2, "device_memory_allocated": 205520896, "encoder_command_buffers_begun": 3, "event_waits_met": 1, "fence_waits": 3, "fills_recorded": 3, "finales_folded": 3, "gate_waits": 2, "gate_waits_slept": 2, "heads_held_for_event_values": 3, "image_blocks_made_ahead": 1, "image_blocks_made_in_place": 1, "object_churn.buffers_evicted": 37, "object_churn.buffers_parked": 1, "object_churn.buffers_recycled": 1, "object_churn.vk_buffers_destroyed": 37, "plain_buffer_blocks_made": 2, "pooled_memory_blocks_made": 3, "primaries_begun_ahead": 1, "queue_submissions": 3, "queues_sharing_a_vk_queue": 2, "scheduled_where_submitted": 2, "scheduler_passes": 4, "scheduler_passes_by_waiters": 1, "scheduler_sleep_slices": 1, "scheduler_sleeps": 6, "scheduler_wakes_commit": 3, "scheduler_wakes_host": 2, "slot_returns": 3, "spare_command_pools_taken": 2, "submit_infos": 3, "trail_waits": 2, "wakes_completion_waiters": 2, "wakes_handler_threads": 3, "wakes_spared": 19 }, "moving": { "completion_arms": 2, "completion_arms_after_a_wake": 2, "completion_reads_ran_ahead": 0, "fence_waits": 2, "gate_waits_slept": 0 }, "composed": { "addressable_buffers_made": 2, "blocks_ahead_waited_for": 3, "buffer_blocks_made_ahead": 2, "buffer_blocks_made_in_place": 0, "completion_arms": 2, "completion_arms_after_a_wake": 2, "device_memory_allocated": 201326592, "fence_waits": 2, "gate_waits_slept": 1, "image_blocks_made_ahead": 1, "image_blocks_made_in_place": 0, "plain_buffer_blocks_made": 2, "pooled_memory_blocks_made": 3, "queues_sharing_a_vk_queue": 0 } } ], "times": [ { "leg": "metal", "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, 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, "times": { "case": "event-held-command-buffer", "calls": 1, "in_calls": 165788500, "on_cpu": 1171083, "blocked": 164600624, "elsewhere": 3726625, "spend": 169561250, "spend_least": 162990792, "spend_most": 172399083, "per_call": [ { "call": "held_command_buffer", "least_calls": 1, "most_calls": 1, "wall": 165788500, "on_cpu": 1171083, "blocked": 164600624, "wall_least": 162454500, "wall_most": 167923916, "wall_total": 165788500, "on_cpu_total": 1171083, "blocked_total": 164600624 } ] } }, { "leg": "ours", "venue": "Apple M3 Max", "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, "times": { "case": "event-held-command-buffer", "calls": 1, "in_calls": 161602792, "on_cpu": 121416, "blocked": 161481376, "elsewhere": 774375, "spend": 162367833, "spend_least": 161006416, "spend_most": 163525251, "per_call": [ { "call": "held_command_buffer", "least_calls": 1, "most_calls": 1, "wall": 161602792, "on_cpu": 121416, "blocked": 161481376, "wall_least": 159026250, "wall_most": 162127667, "wall_total": 161602792, "on_cpu_total": 121416, "blocked_total": 161481376 } ] } } ] }