Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.18
Framework Version
No response
Link to Sentry event
No response
SDK Setup/Reproduction Example
@sentry/[email protected]
│ ├─┬ @sentry/[email protected]
│ │ ├─┬
[@sentry](https://x.com/sentry)
-internal/[email protected]
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ └── @sentry/[email protected] deduped
│ │ ├─┬
[@sentry](https://x.com/sentry)
-internal/[email protected]
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ └── @sentry/[email protected] deduped
│ │ ├─┬
[@sentry](https://x.com/sentry)
-internal/[email protected]
│ │ │ ├──
[@sentry](https://x.com/sentry)
-internal/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ └── @sentry/[email protected] deduped
│ │ ├─┬
[@sentry](https://x.com/sentry)
-internal/[email protected]
│ │ │ ├──
[@sentry](https://x.com/sentry)
-internal/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ ├── @sentry/[email protected] deduped
│ │ │ └── @sentry/[email protected] deduped
│ │ ├── @sentry/[email protected] deduped
│ │ ├── @sentry/[email protected] deduped
│ │ └── @sentry/[email protected] deduped
│ ├─┬ @sentry/[email protected]
│ │ ├── @sentry/[email protected] deduped
│ │ └── @sentry/[email protected] deduped
│ ├── @sentry/[email protected]
│ ├─┬ @sentry/[email protected]
│ │ └── @sentry/[email protected] deduped
Steps to Reproduce
A user reported a faster TTFB measurement than LCP and found this to be odd (how did we render the LCP faster than delivering the first byte of data to the customer?)
@k-fish suggested maybe this has to do with prefetching resources? If so, could we detect this and indicate it in the UI?
Expected Result
LCP happen some time after TTFB.
Actual Result
LCP is faster than TTFB.
Internal Tracking: https://www.notion.so/sentry/GH-13040-Faster-TTFB-than-LCP-4f01c7a5ce8949f0a3b7b7ea37bb129a?pvs=4