Files
metal2vulkan/crates
Anees Iqbal 80ce024ed0 tests::spares_walk: the spares' churn under a walk-shaped load
An ignored measurement: a compositor queue commits a command buffer of 94
render passes about 41 times a second while three queues commit about
1,600 small command buffers a second together (one pass, one blit or two),
two in flight each. Over 5 s after 3 s it prints the command buffers the
device allocated a second by place, the spares' frees by why and the
trims, the spares' count, each kind's thread time and the process's CPU.

The walk's counters show the spares freeing about 100 command buffers a
second (past recent uses, idle sheds) with about 10 trims, and its profile
about 43 ms a second inside allocate_command_buffers and 39 ms a second
on the free thread; this reproduces the shape to find why and test a fix.

Verified: cargo fmt; the run is the next potluck job.
2026-11-13 07:42:58 -08:00
..