diff --git a/quest/m2/performance-survey/README.md b/quest/m2/performance-survey/README.md index 6464a262848..2f9f86c5350 100644 --- a/quest/m2/performance-survey/README.md +++ b/quest/m2/performance-survey/README.md @@ -173,8 +173,12 @@ The `js/replay` nightly series and the browser smoke's `replay.json` protect it. - The 2026-10-22 release audit bounded the media reorder queues in [moq-dev/moq#6453](https://github.com/moq-dev/moq/pull/6453) and fixed QMux copying in - [moq-dev/moq#6381](https://github.com/moq-dev/moq/pull/6381). MKV - fragmentation below concerns parser replay before those queues. + [moq-dev/moq#6381](https://github.com/moq-dev/moq/pull/6381). The MKV + importer's replay of accumulated input before those queues was removed by + [moq-dev/moq#6908](https://github.com/moq-dev/moq/pull/6908) and + [moq-dev/moq#7234](https://github.com/moq-dev/moq/pull/7234); the + measured no-win is in [moq-dev/moq#7515](https://github.com/moq-dev/moq/pull/7515), + and the nightly `mkv-chunks` and `mkv-payloads` series cover the slope. - [Binding bytes](https://github.com/moq-dev/rust2/blob/main/quest/m1/ffi-bytes.md), [foreign polling](https://github.com/moq-dev/rust2/blob/main/quest/m1/ffi-poll-protocol.md), [Kotlin calls](https://github.com/moq-dev/rust2/blob/main/quest/m1/kt-ffi-calls.md), @@ -196,7 +200,6 @@ The `js/replay` nightly series and the browser smoke's `replay.json` protect it. - [Task capacity after bursts](/quest/m2/performance-survey/task-capacity.md) - memory a task set keeps after peak occupancy subsides - [Cache metadata](/quest/m2/performance-survey/cache-metadata.md) - bookkeeping capacity after cached groups expire - [PCM batch processing](/quest/m2/performance-survey/audio-batches.md) - repeated tail movement during encoding and resampling -- [Fragmented MKV import](/quest/m2/performance-survey/mkv-fragments.md) - accumulated-buffer copies and parser replay - [HLS request fan-out](/quest/m2/performance-survey/hls-serving.md) - repeated fetch, remux and playlist construction per viewer - [Buffered browser groups](/quest/m2/performance-survey/hang-buffered.md) - per-frame scans and bulk skip work - [Idle browser stats](/quest/m2/performance-survey/browser-idle-stats.md) - local transport polling without active publishing demand diff --git a/quest/m2/performance-survey/mkv-fragments.md b/quest/m2/performance-survey/mkv-fragments.md deleted file mode 100644 index 56d3f514f39..00000000000 --- a/quest/m2/performance-survey/mkv-fragments.md +++ /dev/null @@ -1,31 +0,0 @@ -# [M] Fragmented MKV import avoids replaying accumulated input - -## Goal - -Streaming MKV/WebM import costs remain reasonable as the same input is -split into smaller reads, without changing accepted media or parse errors. - -## Plan - -[Import::drain](/rs/moq-mux/src/container/mkv/import.rs) clones the retained -BytesMut, constructs a fresh WebmIterator and skips handled tags only after -parsing them (lines 227-252). A B-byte partial block arriving in c-byte -chunks can copy O(B²/c) bytes before completion; replay can add parse work. -This is before the reorder queues, which -[moq-dev/moq#6453](https://github.com/moq-dev/moq/pull/6453) bounded. - -Benchmark block size × input chunk size with identical complete media, -including large keyframes, lacing, bounded BlockGroups and unknown-size live -containers. Measure instructions/input byte, allocation and copy volume, -latency to first frame and peak memory. Separate cold catalog startup from -steady parsing. Include fragmented malformed/truncated tags in correctness -checks and ensure bytes, timestamps and errors match unsplit input. - -Prefer retained parser progress or bounded incremental staging if it wins. -Do not hide the slope with a minimum read size or an arbitrary refusal cap. -This specializes the recurring audit's generic MKV importer coverage. - -Follow the [survey's benchmark contract](/quest/m2/performance-survey/README.md): -measure the baseline before optimizing, retain paired evidence, verify equivalent -work, schedule coverage nightly, and accept a measured no-win. Expected public -API and wire impact: none; report the actual impact in the implementation PR.