afmpeg-bench

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL