Commits
Commits on
210dfc85beda549f2c4ef572940c5cedf28d46cdFiltered to tools/ec-bench/src/main.rsClear filter2026-08-27
feat(bench): audio encode, container demux and TrueHD rows in ec-benchAhmet Kaan Gümüş · 4ef277a
feat(bench): audio encode, container demux and TrueHD rows in ec-bench Extends the standing perf harness with the rows the ledger owed: encode rows for opus/vorbis/aac/mp3/flac/alac/ac3 driven off real decoded PCM (a WAV fixture through ec-probe's own AudioDecoder path), a TrueHD encode+own-stream-decode round trip (no fixture exists yet for the generic decode loop to pick up), and whole-file demux throughput rows for ec-matroska/ec-mp4 via ec-probe's Reader. Also fixes a duration fallback bug: ffprobe's own "N/A" string was short-circuiting the format-duration fallback via Option::or_else.
feat(bench): real h265 software-decode row; drop a dead helperAhmet Kaan Gümüş · 746f093
feat(bench): real h265 software-decode row; drop a dead helper The 'encode-only crate, no decoder present' placeholder was a false claim since lane-h265dec merged; the row now times decode_idr_au over the bench's own encoded stream (10.48x realtime at 640x360).
feat(av1dec): public decode_stream OBU walker, bench decode row, NEARMV liftAhmet Kaan Gümüş · 16b0ce0
feat(av1dec): public decode_stream OBU walker, bench decode row, NEARMV lift decode_stream(&[u8]) walks a raw AV1 stream via ec-av1-syntax's Av1Parser, extracts each Frame OBU's header + tile payload and dispatches to the existing decode_key_frame_tile/decode_inter_frame_tile, threading a single-slot DPB -- the first real entry point that does not need Encoded's pub(crate) fields. ec-bench's av1 row now times decode_stream instead of reporting "no decoder present". decode_inter_block also reconstructs NEARMV (mvstack already carries the second stack candidate), tested by hand-driving a symbol stream since this crate's own encoder never chooses that mode.
feat(bench): cover ec-image decode (all sniffed formats) and ec-inflateAhmet Kaan Gümüş · 1ee915b
feat(bench): cover ec-image decode (all sniffed formats) and ec-inflate Extends the harness with the two remaining tractable groups: ec-image's single decode() entry point runs over every real still and fixture, and ec-inflate is measured on the zlib stream a real PNG's own IDAT chain already carries.
feat(bench): standing realtime-factor harness across every codec crateAhmet Kaan Gümüş · 4d8621c
feat(bench): standing realtime-factor harness across every codec crate One new bin (tools/ec-bench) that drives each crate's own public one-shot API against real media (h264/h265/av1 video, aac/mp3/opus/vorbis/flac/alac audio via ec-probe's unified reader) and prints a ranked markdown table — the baseline every future optimization lane measures against.