DataDog / browser-sdk

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

♻️ [RUM-66] Specialise constant files #2841

Closed RomanGaignault closed 3 days ago

RomanGaignault commented 4 days ago

Motivation

Specialise constant files to have a more descriptive name.

Changes

Changed constant files from e2e test and developer extension

Testing


I have gone over the contributing documentation.

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

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 160.06 KiB 160.06 KiB 0 B 0.00%
Logs 58.07 KiB 58.07 KiB 0 B 0.00%
Rum Slim 108.64 KiB 108.64 KiB 0 B 0.00%
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.002 | 0.002 | 0.001 | | addaction | 0.034 | 0.041 | 0.007 | | adderror | 0.032 | 0.044 | 0.011 | | addtiming | 0.001 | 0.001 | 0.000 | | startview | 0.912 | 0.982 | 0.070 | | startstopsessionreplayrecording | 0.825 | 0.966 | 0.141 | | logmessage | 0.020 | 0.020 | 0.000 |
🧠 Memory Performance | Action Name | Base Consumption Memory (bytes) | Local Consumption Memory (bytes) | 𝚫 (bytes) | | --- | --- | --- | --- | | addglobalcontext | 20.84 KiB | 20.48 KiB | -371 B | | addaction | 68.85 KiB | 70.42 KiB | 1.57 KiB | | adderror | 85.04 KiB | 84.62 KiB | -434 B | | addtiming | 16.18 KiB | 16.11 KiB | -68 B | | startview | 315.58 KiB | 318.76 KiB | 3.18 KiB | | startstopsessionreplayrecording | 12.87 KiB | 12.47 KiB | -409 B | | logmessage | 67.48 KiB | 68.04 KiB | 569 B |

🔗 RealWorld

RomanGaignault commented 3 days ago

/to-staging

dd-devflow[bot] commented 3 days ago

:steam_locomotive: Branch Integration: starting soon, median merge time is 11m

Commit a30d6cee9c will soon be integrated into staging-27.

Use /to-staging -c to cancel this operation!

dd-devflow[bot] commented 3 days ago

:steam_locomotive: Branch Integration: This commit was successfully integrated

Commit a30d6cee9c has been merged into staging-27 in merge commit 3210680339.

Check out the triggered pipeline on Gitlab :fox_face: