DataDog / browser-sdk

Datadog Browser SDK
Apache License 2.0
279 stars 130 forks source link

poc merging long tasks and long animation frames #2843

Open Miz85 opened 3 days ago

Miz85 commented 3 days ago

Motivation

Changes

Testing


I have gone over the contributing documentation.

bits-bot commented 3 days ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cit-pr-commenter[bot] commented 3 days ago

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 160.50 KiB 161.80 KiB 1.29 KiB +0.81%
Logs 58.09 KiB 58.09 KiB 0 B 0.00%
Rum Slim 109.02 KiB 110.32 KiB 1.29 KiB +1.19%
Worker 25.21 KiB 25.21 KiB 0 B 0.00%

🚀 CPU Performance | Action Name | Base Average Cpu Time (ms) | Local Average Cpu Time (ms) | 𝚫 | | --- | --- | --- | --- | | addglobalcontext | 0.003 | 0.003 | 0.000 | | addaction | 0.060 | 0.051 | -0.009 | | adderror | 0.061 | 0.043 | -0.018 | | addtiming | 0.001 | 0.001 | 0.000 | | startview | 1.510 | 1.235 | -0.275 | | startstopsessionreplayrecording | 1.156 | 1.182 | 0.026 | | logmessage | 0.023 | 0.030 | 0.007 |
🧠 Memory Performance | Action Name | Base Consumption Memory (bytes) | Local Consumption Memory (bytes) | 𝚫 (bytes) | | --- | --- | --- | --- | | addglobalcontext | 22.05 KiB | 19.63 KiB | -2470 B | | addaction | 72.37 KiB | 69.89 KiB | -2534 B | | adderror | 87.20 KiB | 86.31 KiB | -917 B | | addtiming | 17.82 KiB | 17.31 KiB | -520 B | | startview | 314.70 KiB | 321.48 KiB | 6.77 KiB | | startstopsessionreplayrecording | 15.83 KiB | 14.83 KiB | -1023 B | | logmessage | 68.82 KiB | 72.86 KiB | 4.03 KiB |

🔗 RealWorld