designcourse
designcourse copied to clipboard
Naive implementation of web vital with google dep
Motivation
Experimente to collect web vital with the https://github.com/GoogleChrome/web-vitals as dep
Changes
Use https://github.com/GoogleChrome/web-vitals to collect CLS, LCP, FCP, INP and FID
Testing
- [ ] Local
- [ ] Staging
- [ ] Unit
- [ ] End to end
I have gone over the contributing documentation.
Bundles Sizes Evolution
| 📦 Bundle Name | Base Size | Local Size | 𝚫 | 𝚫% | Status |
|---|---|---|---|---|---|
| Rum | 160.40 KiB | 168.71 KiB | 8.31 KiB | +5.18% | ⚠️ |
| Logs | 58.02 KiB | 58.02 KiB | 0 B | 0.00% | ✅ |
| Rum Slim | 108.92 KiB | 117.23 KiB | 8.31 KiB | +7.63% | ⚠️ |
| Worker | 25.21 KiB | 25.21 KiB | 0 B | 0.00% | ✅ |
⚠️ The increase is particularly high and exceeds 5%. Please check the changes.
| Action Name | Base Average Cpu Time (ms) | Local Average Cpu Time (ms) | 𝚫 |
|---|---|---|---|
| addglobalcontext | 0.002 | 0.002 | -0.000 |
| addaction | 0.043 | 0.043 | 0.001 |
| adderror | 0.036 | 0.043 | 0.007 |
| addtiming | 0.001 | 0.001 | 0.001 |
| startview | 0.927 | 1.912 | 0.985 |
| startstopsessionreplayrecording | 0.839 | 2.220 | 1.381 |
| logmessage | 0.020 | 0.033 | 0.013 |
🧠 Memory Performance
| Action Name | Base Consumption Memory (bytes) | Local Consumption Memory (bytes) | 𝚫 (bytes) |
|---|---|---|---|
| addglobalcontext | 21.07 KiB | 18.84 KiB | -2285 B |
| addaction | 70.90 KiB | 69.87 KiB | -1061 B |
| adderror | 85.58 KiB | 84.61 KiB | -993 B |
| addtiming | 17.66 KiB | 17.31 KiB | -361 B |
| startview | 315.27 KiB | 377.93 KiB | 62.65 KiB |
| startstopsessionreplayrecording | 15.43 KiB | 13.69 KiB | -1784 B |
| logmessage | 70.25 KiB | 70.16 KiB | -93 B |