rrweb vs Replayowl: a recorder benchmark

Same page, same scripted one-minute visit, fresh headless Chromium for every run. We measured script size, startup time, CPU time, memory and how many bytes each recorder produces. Measured on November 22, 2026; method, scripts and raw data are at the end.

Recorder, gzipped
7.9 KB vs 23.6 KB
Recording, gzipped per minute
50.9 KB vs 66.9 KB
Main-thread script time added per minute
65 ms vs 83 ms

Replayowl first, rrweb 2.2.2 with default options second. Medians of 7 runs.

Results

Each recorder ran 7 times for 60 seconds on the same page, interleaved so neither always ran first. The table shows medians. "Added" figures subtract the median of the no-recorder runs.

MeasureNo recorderrrweb 2.2.2, defaultsrrweb 2.2.2, maskAllInputsReplayowl 0.1.0
Script size, gzipped-23.6 KB23.6 KB7.9 KB
Script size, minified-75.9 KB75.9 KB21.2 KB
Start (first snapshot), page of 2,700 nodes-8.8 ms8.6 ms4.5 ms
Start, page of 55,500 nodes-76 ms-50 ms
Script time in 60 s16 ms100 ms101 ms81 ms
All main-thread task time in 60 s1512 ms1652 ms1704 ms1676 ms
JS heap after GC2.22 MB4.83 MB4.83 MB2.67 MB
Events-1,5371,5371,759
Recording, raw JSON-799.9 KB800.0 KB526.5 KB
Recording, gzipped-66.9 KB66.2 KB50.9 KB
Sent over the network-799.9 KB800.0 KB63.0 KB
Typed name and email in the upload-YesNoNo
Email addresses from page text in the upload-2002000

Script size

The Replayowl recorder is 7.9 KB gzipped (7.1 KB with Brotli), 67% smaller than rrweb's record bundle at 23.6 KB (21.1 KB with Brotli). The comparison is conservative for Replayowl: its file includes batching, retries, gzip compression and upload, while @rrweb/record only produces events and leaves sending them to you. Bundling import { record } from "@rrweb/record" ourselves with the same esbuild settings as Replayowl gave 23.2 KB gzipped, so the difference is not a build-setting artifact.

CPU and memory

Over a one-minute visit, Replayowl added 65 ms of script time to the page and rrweb 83 ms, measured with Chrome's own ScriptDuration counter. Both are around a tenth of a percent of the minute on this machine; on slower phones the absolute numbers will be higher. Total main-thread task time, which also counts style, layout and paint and varies more between runs, went from 1512 ms without a recorder to 1676 ms with Replayowl and 1652 ms with rrweb.

Taking the first snapshot is the one moment the recorder blocks the page. On the benchmark page it took 4.5 ms with Replayowl and 8.8 ms with rrweb; on a page with 55,500 nodes, 50 ms and 76 ms.

Heap after garbage collection was 2.67 MB with Replayowl and 4.83 MB with rrweb, against 2.22 MB without a recorder. That includes the recorder code itself and its map of page nodes.

Bytes per minute

Replayowl produced 1,759 events and 50.9 KB gzipped in a minute, rrweb 1,537 events and 66.9 KB. Gzip is what matters for storage and bandwidth: raw JSON was 526.5 KB and 799.9 KB. Replayowl compresses each batch in the browser before upload, so it sent 63.0 KB over the network; our rrweb setup posted plain JSON, so it sent 799.9 KB. You can add compression to an rrweb setup yourself, which would bring its network bytes close to its gzipped size.

The snapshot at the start is a large share of a short recording. To estimate storage for your traffic, use the session recording size estimator, which uses these measurements.

Privacy with default settings

The visit types a name, an email address and a message into a form, and the page shows 200 customer email addresses in a table. With default options, rrweb recorded the typed values as they were typed and all of the email addresses in the table. With maskAllInputs: true, rrweb masked the typed values but still recorded the email addresses in page text. Replayowl masked both by default. This is a difference in defaults, not in capability: rrweb can mask more with configuration. Check your own pages with the PII masking tester.

Method

  • Machine: Apple M5 Pro laptop (64 GB RAM, macOS), headless Chromium 156.0.8078.4 driven by Playwright 1.64.0, viewport 1280 by 800, no CPU throttling.
  • Recorders: @rrweb/record 2.2.2 from npm, the published dist/record.umd.min.cjs; Replayowl recorder 0.1.0 built from source with esbuild 0.28.2 (iife, minified, target es2019). Each was loaded after the page's load event and started from code.
  • Upload: rrweb has no transport, so the harness buffers its events and POSTs them as JSON every 4 seconds, Replayowl's own interval. Replayowl uses its built-in transport. Uploads are intercepted by the test and never leave the machine.
  • Test page: a static storefront of about 2,700 DOM nodes: a product grid, a 200-row order table, a form, a modal, a clock updated every 250 ms, a live feed updated every second and a banner class toggled every 2 seconds. Content is generated from a fixed seed so every run builds the same DOM.
  • Visit: 60 seconds of a fixed, seeded loop: mouse paths, wheel scrolling up and down, tab switches that replace 48 product cards, add-to-cart clicks, typing into three form fields, opening and closing a modal, and pauses.
  • Runs: 7 per condition, a fresh browser for every run, order rotated between runs. Medians reported.
  • Metrics: Chrome DevTools Protocol Performance.getMetrics before start and after stop: ScriptDuration, TaskDuration, JSHeapUsedSize after a forced garbage collection. Start time is performance.now() around the start call. Recording size is the concatenated event list as JSON and as gzip level 9; network bytes are the request bodies as sent. When it stops, Replayowl resends the batch that may still be in flight and its server drops the repeat, so repeated batches are counted once in the recording size and included in the network bytes.
  • Large-page start: the same page with a 5,000-row table, start only, 7 runs.
  • Checks: every recording must contain a full snapshot; the no-recorder runs must show no uploads. All runs passed.

Raw data: summary.json, shadow.json, runs-visit.jsonl, runs-snapshot.jsonl, sizes.json. Scripts: run.mjs, build.mjs, testpage.html, summarize.mjs, shadow.mjs. You may reuse the data under CC BY 4.0 with a link to this page.

What this does not show

  • One page and one visit pattern. Pages with heavy animation, canvas, very large DOMs or many iframes will give different numbers.
  • A fast desktop CPU. Absolute times will be several times higher on low-end phones; the ratio between recorders should hold roughly.
  • Replay quality. A smaller recording is only better if it plays back correctly. Watch your own pages in the live demo or in a test deployment.
  • Features. rrweb has a large plugin ecosystem, canvas recording and cross-origin iframe support; Replayowl records neither canvas nor iframes. See known limitations and open source session replay tools.

Questions and answers

Is Replayowl built on rrweb?

No. Replayowl has its own recorder, wire format and player, written from scratch. It solves the same problem, so the two are directly comparable.

Which is smaller, rrweb or Replayowl?

The Replayowl recorder is 7.9 KB gzipped, including upload, batching and compression. The rrweb record bundle (@rrweb/record 2.2.2) is 23.6 KB gzipped without any upload code.

Can I reproduce these numbers?

Yes. The scripts and the raw results of every run are linked in the method section. Run them on your machine; absolute times will differ, the ratios should be close.

Try Replayowl on your own site

Hosted

Free for 1,000 sessions a month

Then $29 a month for 10,000. Paste one script tag and watch your first session a minute later.

Start free

Self-hosted

Free, no session caps

One Cloudflare Worker with your own R2 bucket and D1 database. Nothing is sent to us.

Self-host on Cloudflare

Or watch it record you first in the live demo, no sign-up.