Skip to content

Conversation

@BenoitZugmeyer
Copy link
Member

Also make it simpler, as we only care about ids

Motivation

Changes

Test instructions

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.

@cit-pr-commenter
Copy link

cit-pr-commenter bot commented Dec 18, 2025

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 164.29 KiB 164.40 KiB +120 B +0.07%
Rum Profiler 4.33 KiB 4.48 KiB +160 B +3.61%
Rum Recorder 20.01 KiB 20.01 KiB 0 B 0.00%
Logs 56.10 KiB 56.10 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 121.50 KiB 121.23 KiB -280 B -0.23%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
RUM - add global context 0.005 0.0054 +8.00%
RUM - add action 0.0125 0.0131 +4.80%
RUM - add error 0.0125 0.0124 -0.80%
RUM - add timing 0.0037 0.0036 -2.70%
RUM - start view 0.0044 0.0035 -20.45%
RUM - start/stop session replay recording 0.0007 0.0007 0.00%
Logs - log message 0.0128 0.0144 +12.50%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 28.32 KiB 26.48 KiB -1.84 KiB
RUM - add action 49.82 KiB 50.37 KiB +562 B
RUM - add timing 25.78 KiB 25.32 KiB -467 B
RUM - add error 61.43 KiB 56.75 KiB -4.69 KiB
RUM - start/stop session replay recording 25.01 KiB 23.95 KiB -1.06 KiB
RUM - start view 425.02 KiB 426.52 KiB +1.50 KiB
Logs - log message 47.12 KiB 45.21 KiB -1.91 KiB

🔗 RealWorld

@datadog-official
Copy link

datadog-official bot commented Dec 18, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 92.86%
Overall Coverage: 77.27% (-0.02%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 151e348 | Docs | Datadog PR Page | Was this helpful? Give us feedback!


lifeCycle.subscribe(LifeCycleEventType.RAW_RUM_EVENT_COLLECTED, ({ rawRumEvent, startTime, duration }) => {
if (rawRumEvent.type === 'long_task') {
history.add(rawRumEvent.long_task.id, startTime).close(addDuration(startTime, duration!))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔨 warning: ‏We also send startClock, duration and entryType in the Profiling track.

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/move-long-task-context branch from 794e9b1 to cd45062 Compare December 19, 2025 16:35
Base automatically changed from aymeric/fix-long-task-association to main January 5, 2026 11:34
Also make it simpler, as we only care about ids
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/move-long-task-context branch from cd45062 to 151e348 Compare January 12, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants