Generated by cmd/afmpeg-bench — WASM (afmpeg) vs native ffmpeg on the same host, same jobs. Source fixture: testsrc2 320×240 @25fps 3s + sine (H.264/AAC). All WASM I/O is in-memory (afero); native writes temp files. Median of 3 runs.
Not apples-to-apples beyond the encoder. WASM is single-threaded and --disable-asm; native ffmpeg uses all cores + SIMD. The multiple is an upper bound on the gap, not a like-for-like.
I/O differs by design — WASM keeps everything in afero (RAM); native uses temp files.
openh264 ≠ libx264 in speed and quality/size; the openh264 column is informational.
The -Oz vs -O2/-O3 module-build axis (spec 0008 §3.2) needs a rebuilt module and is not measured here.