Cost: binary-archive-sources' record with its contrast, ratio 0 over 2

binary-archive-sources had no bounds on record, so the gate held none of
its counts and its pipelines-per-state ratio sat unrecorded. This writes
its record from a whole-set `cost --runs 8 --write` on the M3 Max, with
the contrast of the case alone, and keeps only this case's record.

The ratio is stable: two whole-set reads on the M3 Max at 4192d7ffd1
(job m3-max-4205) agree, each 0 pipeline(s) over 2 state(s), 0.000 each
(read 1 with nothing written, read 2 the write). The case alone
(8 runs, nothing before it on the device) reads the same ratio and
moves three counts the case set does not: device_memory_allocated
201326720, functions_translated 1, stage_entries_specialized 1, now
under `composed`; pipeline_layouts_made, pooled_memory_blocks_made and
shader_modules_made are the ceilings.

Verified: `cost --check` against the records with only this file
changed (same job) reports no difference for binary-archive-sources.
Its 9 load-bearing differences are attribute-stride-inline-bytes,
attribute-stride-vertex-buffer and stage-in-unread-attributes, whose
records another branch re-records. The record file is unchanged
between 4192d7ffd1 and c418a1f55b, so this commit sits on c418a1f55b.

(cherry picked from commit 887c7fd95d0653d7cd3e5ca62e7591112038f90a)
This commit is contained in:
Anees Iqbal committed 2026-11-07 09:32:24 -08:00
1 parent be4e96f237
commit 0e2c70f08f
1 file changed
+24 -1
@@ -309,7 +309,30 @@
"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": {}
"bounds": {
"device_memory_allocated": 201326720,
"functions_shared": 1,
"functions_translated": 1,
"pipeline_layouts_made": 1,
"pooled_memory_blocks_made": 3,
"shader_modules_made": 1,
"stage_entries_specialized": 1,
"variants_taken_back": 1
},
"composed": {
"device_memory_allocated": 201326720,
"functions_translated": 1,
"stage_entries_specialized": 1
},
"ceilings": {
"pipeline_layouts_made": 1,
"pooled_memory_blocks_made": 3,
"shader_modules_made": 1
},
"per_state": {
"pipelines": 0,
"states": 2
}
}
],
"times": [