﻿# VSR-Bench: audit browser timing before comparing video SR

VSR-Bench combines WebRTC with receiver-side super resolution. Its browser pipeline and summary code need explicit timing boundaries before FPS or latency comparisons.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/vsr-bench-webrtc-browser-timing-summary-audit/
Language: en

[VSR-Bench](https://github.com/matinfazel/VSR-Bench) is the authors’ open platform for evaluating browser-side video super resolution in a WebRTC pipeline, associated with ACM MMSys 2026. Its sender, receiver and telemetry components support experiments across graphics backends and codecs. The practical contribution is a configurable measurement environment, not a published universal FPS or GPU-memory requirement for every model.

## The browser and codec are part of the experiment

The README supports WebGL and WebGPU backends with H.264 or VP8 encoding. It recommends Linux, Python 3.12 or later, a modern compatible browser and an RTX-class GPU, giving RTX 3060 as an example. That example is a setup recommendation rather than a measured threshold proving that every configuration achieves real-time playback.

The documented sender uses aiortc and includes a codec-quantizer adjustment for controlled evaluation. Preserve such modifications when comparing runs. A different encoder, browser version, source resolution or network trace changes what reaches the super-resolution model. A comparison of backend names without those conditions may conflate image reconstruction, transport and decoding behavior.

## A displayed latency name does not define its boundary

The [client implementation](https://raw.githubusercontent.com/matinfazel/VSR-Bench/main/Client/client.js) collects browser WebRTC statistics and separate processing measurements. Its multi-worker timing database is configured with local `input` and `final` steps. That label should not automatically be read as an independently synchronized camera-to-display measurement across sender and receiver.

The [WebRTC statistics specification](https://www.w3.org/TR/webrtc-stats/) also distinguishes cumulative counters from per-frame durations. For example, total decode time divided by decoded-frame count gives average decode time for that stream. A rising cumulative total is not directly the latency of the latest frame. Keep units, counter scope and observation intervals with the exported series, including missing fields and dropped frames.

## Inspect cold-start aggregation before trusting summaries

Source inspection of [StepTimesDB](https://raw.githubusercontent.com/matinfazel/VSR-Bench/main/Client/StepTimesDB.js) reveals a concrete issue in the reviewed snapshot. Its summary helper records the original count, removes the first duration as cold start, then divides the remaining sum by the original count. Its median indices also use that original count, and sorting has no numeric comparator. The client contains a similar helper.

Consequently, the displayed summary should be audited rather than assumed to represent the intended post-cold-start sample. This is a finding from reading the implementation, not a rerun of the authors’ experiment or proof that every published paper number used that path. Retain individual timestamps and recompute the intended numeric distribution with an explicit exclusion rule before drawing a performance ranking.

## Compare completed video work under equivalent conditions

Frame saving and telemetry can add work of their own. A proposed assessment should fix source clip, codec settings, network conditions, model artifact, scale, browser, backend and threading path. Separate startup from repeated processing, record decoded and processed frames, and inspect the reconstructed output for quality and temporal artifacts. Keep observation settings constant when testing alternatives.

The [visual-workload benchmark guide](/journal/stable-diffusion-gpu-benchmark/) provides a useful parallel for preserving dimensions and complete-output boundaries, while the [inference benchmark method](/journal/inference-benchmark-method/) emphasizes versions, failures and repeated conditions. VSR-Bench gives researchers a concrete pipeline to examine. A defensible result still needs a named configuration, a verified timer boundary and trustworthy summaries, rather than inferring real-time suitability from the repository description.
