Documentation
¶
Overview ¶
Command afmpeg-bench is the spec-0008 performance measurement rig: it runs a handful of representative media workloads through afmpeg's WASM runtime and against the host's native ffmpeg, and emits a markdown report with the per-workload timings and the native multiple (the honest wasm-vs-native ratio).
It is an investigation tool, not shipped library surface (hence cmd/, which the coverage policy does not measure). Run it with a built module and a native ffmpeg on PATH:
go run ./cmd/afmpeg-bench \ -lgpl ../ffmpeg-wasi/dist/ffmpeg-wasi-lgpl.wasm \ -gpl ../ffmpeg-wasi/dist/ffmpeg-wasi-gpl.wasm \ -runs 3 -out docs/development/spikes/0008-perf/REPORT.md
Click to show internal directories.
Click to hide internal directories.