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 165.78 KiB 165.88 KiB +103 B +0.06%
Rum Profiler 4.33 KiB 4.61 KiB +287 B +6.48%
Rum Recorder 24.48 KiB 24.48 KiB 0 B 0.00%
Logs 56.21 KiB 56.21 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 123.05 KiB 122.75 KiB -305 B -0.24%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
addglobalcontext N/A 0.0039 N/A
addaction N/A 0.0133 N/A
adderror N/A 0.0129 N/A
addtiming N/A 0.0025 N/A
startview N/A 0.0029 N/A
startstopsessionreplayrecording N/A 0.0006 N/A
logmessage N/A 0.0169 N/A
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
addglobalcontext N/A 25.75 KiB N/A
addaction N/A 47.99 KiB N/A
addtiming N/A 25.17 KiB N/A
adderror N/A 67.95 KiB N/A
startstopsessionreplayrecording N/A 24.87 KiB N/A
startview N/A 427.10 KiB N/A
logmessage N/A 95.13 KiB N/A

🔗 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: 91.67%
Overall Coverage: 77.24% (-0.01%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4922f44 | 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
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/move-long-task-context branch from cd45062 to 151e348 Compare January 12, 2026 16:34
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/move-long-task-context branch from 151e348 to 18403ee Compare January 19, 2026 16:41
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/move-long-task-context branch from 18403ee to 4922f44 Compare January 20, 2026 13:33
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