Files
metal2vulkan/crates
Anees Iqbal 0ae85f8577 The compute creation bench times the pieces of a creation from disk
What: after its rounds, compute_create_bench prints COMPUTE-CREATE-PARTS
for each kernel: the size of the function's and the pipeline's
artifacts and each one's decode from its bytes (the frame's checks and
the body), the stage's word count, and the median of 64 runs of each
of the stage words' digest (the one that names their module) and the
driver's vkCreateShaderModule with its destroy.

Why: a creation that misses the memo and the kept variants pays all of
these, and the rounds show only their sum. The pieces say which one to
cut on each driver.

Verified: ran in release on lavapipe (msi-laptop, b73923b91). For
ccb_conv_array: function artifact 69425 bytes, decoded in 13.5 us;
pipeline artifact 68360 bytes, 10.7 us; 16348 words, digest 17.1 us;
vkCreateShaderModule and its destroy 21.7 us.
2026-11-13 03:23:39 -08:00
..