Lab / SEP 17 2026 / benchmark
7 ms on a GPU that never went quiet
Vectorising the float16 conversions in a CUDA port of SAM 3 took 7.27 ms (8.1%) off a frame, bit-identical, on a rented GPU that failed its idle check on every single run.
Measurement, CorrectnessProteus- Machine
- RTX 5090 (rented)
- Frame time, baseline → candidate
- 89.43 → 82.16 ms, −7.27 ms (−8.1%), candidate ahead 3 of 3 rounds
- Encode time, baseline → candidate
- 53.57 → 48.22 ms, −5.35 ms (−10.0%), 3 of 3 rounds
- Output records bit-identical
- 80 of 80
- im2col, per encode, in the per-kernel GPU trace
- 2.32 → 1.87 ms
The rented RTX 5090 was never idle. The harness's quiet gate reported a violation on every run, and the other tenants' load swung by a factor of three while I was chasing a few milliseconds.
I already knew not to lean on the gate. In an earlier set of runs, both sides had drifted 11 ms slower together while every gate read fine. So this harness assumes the box is noisy: it interleaves the builds, rotates the order every round, and prints every round's numbers.
| Per round | |
|---|---|
| Baseline | 89.43, 89.27, 89.56 |
| Candidate | 82.16 to 82.67 |
The candidate won all three rounds by a lot more than the spread. Output was bit-identical across all 80 records.
One of the three changes was too small for the wall clock to see. The per-kernel GPU trace could: im2col went from 2.32 to 1.87 ms per encode while everything else stayed flat.
The gate never passed once. The result holds anyway.