evidence · 1.6 KiB

README.md

Committed at docs/evidence/panel-paint/conversion-microbenchmark/README.md. This is what grounds the requirements that cite it.

Open raw source

Isolated opaque conversion — 2026-10-19

This source-built benchmark compares existing rounded Pixman compositing with the proposed unscaled opaque XRGB8888→RGB565 path, into fresh heap and unattached DRM dumb buffers. It neither modesets nor replaces the running compositor. Existing baseline48af stayed active. The sole board lock was held.

Each size/memory class has three alternating12-frame rounds after warmup. Whole destination buffers, including padding, matched byte-for-byte. The 833-wide dumb allocation requests834 pixels to meet Pixman’s four-byte stride requirement while keeping the image833 wide. The first unaligned benchmark aborted before producing any dumb samples; it is excluded from these rerun results. No integrated frame, latency, camera or glass claim follows.

MemoryPixelsLegacy median CPUCandidate median CPUSpeedup
Heap833×3764.639ms1.353ms3.43×
Unattached DRM833×3764.615ms1.365ms3.38×
Heap1232×56810.104ms2.869ms3.52×
Unattached DRM1232×56810.069ms2.914ms3.46×

Compile command, source snapshots/hashes, binary hash, start/end timestamps and raw rows are adjacent. No new ISA is used. The renderer calls the path only after clearing source transforms; masks, alpha sources and unsupported formats fall back to Pixman. Native UBSan tests compare256 clipped/rounded/fallback cases with Pixman; existing288 rounded and1152 transformed tests also pass. A new exact-source build and quiet paired board trial are still required.