Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Measuring Session Replay Overhead

Blog post from Sentry

Post Details
Company
Date Published
Author
Billy Vong
Word Count
1,770
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Session Replay's overhead is a common concern, and its impact varies depending on a company's performance budgets. To measure this overhead, Sentry offers a web benchmark package, allowing users to evaluate the effect on their applications by capturing system resources and web-focused metrics, such as Google's Core Web Vitals. Session Replay records browser DOM states and mutations, with tasks like serialization and masking text content performed by the SDK. Sentry reduces main thread blocking by completing CPU-intensive tasks on a web worker. Memory usage varies with different sampling modes, and network traffic can be significant, primarily for mobile users with slower connections. Performance data collection is automated using Playwright, which simulates real user conditions and gathers metrics through the Performance API and Chrome DevTools Protocol. This allows developers to create test scenarios for their applications and evaluate performance impacts, ultimately providing quantifiable metrics for informed decision-making.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.