Start
The freeze when recording beginsshorter freeze than rrweb on lemonde.fr: 79 ms against 282 ms, on a phone-speed CPU.
A task over 50 ms is one the visitor can feel: a click that waits, a scroll that stutters. Measured from a Chromium trace limited to task boundaries, with the CPU slowed 4× (DevTools throttling) to stand for a mid-range phone. Without recorder, the longest task on these pages is 2 to 4 ms.
Numbers
Per page, median of 5Initial capture: everything emitted in the 1.5 s after start, JSON, gzip as CompressionStream would. 600 mutations: 200 elements added, then 200 attributes and 200 texts changed, in one task. Sending is not counted for either.
Weight
gzip, minifiedEngines
No throttling, one runRecording starts and runs on every page, without an error in the page. The player is tested on the three engines by the library's own suite (below).
Method
Honest readinglemonde.fr, a Wikipedia article and a small business site, recorded once as HAR archives. Every request is served from the archive, none from the network.
Typed values masked, [data-va-mask] text masked, [data-va-block] blocked, shadow DOM and stylesheets recorded, no canvas.
A fresh browser context per run, recorders alternating, the recorder alone in the page.
Sending and compression, and how faithful each copy is. Fidelity has its own suite.
# the library's own suite git clone https://github.com/voila-voila-dev/replay cd replay && bun install bun test test/unit # format, sending npm run test:browser # 48 cases × 3 engines node test/browser/fuzz.mjs # random mutations npm run size # fails over budget
Each browser case is also played back through a checkpoint, then the budget, a module that throws and the return from the back/forward cache, on Chromium, WebKit and Firefox. We wrote this bench and we make replay: read it as such. replay 0.4.0 (9a5b1db).
Recording sessions with rrweb? Tell us what it costs you.