Closed
Description
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:
- Provide a simple overhead metric, to set expectations with users of what this might affect their website.
- 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.