Skip to content

✨ feat: enable INP subparts collection by default#4371

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 4 commits intomainfrom
hugo.garridoysaez/feat/enable-inp-subparts-by-default
Mar 26, 2026
Merged

✨ feat: enable INP subparts collection by default#4371
gh-worker-dd-mergequeue-cf854d[bot] merged 4 commits intomainfrom
hugo.garridoysaez/feat/enable-inp-subparts-by-default

Conversation

@HugoGarrido
Copy link
Copy Markdown
Collaborator

@HugoGarrido HugoGarrido commented Mar 23, 2026

Motivation

This PR enables by default INP subparts collection without the need for any feature flag
The code has been introduced #4158
And the change is available behind a flag since v6.27.0 (release notes)

How to query in RUM

# Input Delay
@view.performance.inp.sub_parts.input_delay:*

# Presentation Delay
@view.performance.inp.sub_parts.presentation_delay:*

# Processing Duration
@view.performance.inp.sub_parts.processing_duration:* 

Changes

  • Remove code gated behind ExperimentalFeature.INP_SUBPARTS
  • INP subparts are now collected by default

Test instructions

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@datadog-prod-us1-4
Copy link
Copy Markdown

datadog-prod-us1-4 bot commented Mar 23, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.33% (+0.04%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 137f8cb | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@HugoGarrido HugoGarrido changed the title 💥 feat: enable INP subparts collection by default ✨ feat: enable INP subparts collection by default Mar 24, 2026
@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da bot commented Mar 26, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 176.36 KiB 176.27 KiB -95 B -0.05%
Rum Profiler 6.16 KiB 6.16 KiB 0 B 0.00%
Rum Recorder 26.93 KiB 26.93 KiB 0 B 0.00%
Logs 56.85 KiB 56.82 KiB -30 B -0.05%
Rum Slim 132.13 KiB 132.05 KiB -87 B -0.06%
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.0045 0.0043 -4.44%
RUM - add action 0.0128 0.0157 +22.66%
RUM - add error 0.0128 0.0136 +6.25%
RUM - add timing 0.0027 0.0029 +7.41%
RUM - start view 0.0128 0.0148 +15.63%
RUM - start/stop session replay recording 0.0007 0.0008 +14.29%
Logs - log message 0.0143 0.0153 +6.99%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 27.50 KiB 27.42 KiB -76 B
RUM - add action 99.12 KiB 52.90 KiB -46.21 KiB
RUM - add timing 26.32 KiB 26.19 KiB -126 B
RUM - add error 113.01 KiB 57.94 KiB -55.07 KiB
RUM - start/stop session replay recording 25.59 KiB 25.83 KiB +246 B
RUM - start view 472.43 KiB 470.18 KiB -2.25 KiB
Logs - log message 44.08 KiB 100.83 KiB +56.75 KiB

🔗 RealWorld

@HugoGarrido HugoGarrido marked this pull request as ready for review March 26, 2026 14:07
@HugoGarrido HugoGarrido requested a review from a team as a code owner March 26, 2026 14:07
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 137f8cb01d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 22 to 24
START_STOP_RESOURCE = 'start_stop_resource',
USE_CHANGE_RECORDS = 'use_change_records',
USE_INCREMENTAL_CHANGE_RECORDS = 'use_incremental_change_records',
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore deprecated INP_SUBPARTS enum member

Removing ExperimentalFeature.INP_SUBPARTS is a source-compatible break for TypeScript consumers that already reference this exported enum value in app code (for example in addExperimentalFeatures([ExperimentalFeature.INP_SUBPARTS])), and those projects will fail to compile immediately after upgrading even though runtime behavior is now default-on. Keeping the enum member as a deprecated no-op alias avoids this avoidable upgrade break while still enabling subparts by default.

Useful? React with 👍 / 👎.

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 6df2366 into main Mar 26, 2026
22 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the hugo.garridoysaez/feat/enable-inp-subparts-by-default branch March 26, 2026 16:08
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants