Skip to content

Replay SDK overhead measurement #6503

Closed
@bruno-garcia

Description

@bruno-garcia

Problem Statement

It's very understandable that the first question people have about the Replay SDK is "how heavy is it". The idea of tracking all web page changes already give the idea of a lot of heavy work. For that reason, we need some automation to track the overhead of the SDK.

Solution Brainstorm

Overhead measurement is a complex topic. A lot of different metrics could be used: resources such as CPU/memory as well as Web Vitals.

The goal:

  1. Provide a simple overhead metric, to set expectations with users of what this might affect their website.
  2. A way to avoid regressions as large differences can bring attention to a PR before it gets merged or a release is shipped

This was done for Mobile: https://github.com/getsentry/action-app-sdk-overhead-metrics
To measure the difference in size (which we already have in this repository) and the startup time difference, which is key in Mobile.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions