-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative timing on documentParsingTime #556
Comments
This should not happen.
That's correct. The web vitals represents loading and rendering milestones and not all are in direct relation to the contents of a resource entry. The page load time is the time between the browser starts fetching a resource (fetchStart) and when the document and all sub-resources have finished loading (domComplete). Between the largest contentful paint and the domComplete other things happen so you can not simply sum up the web vitals to get the page load time.
No, navigation timings do not contain web-vitals.
They are not related to the data the navigation entry. Cheers, |
Note: Tested with following browsers:
|
Sorry, you got there faster than me. I've tried in addition Firefox 125b9 and it works. So ironically Firefox normal edition works but developer edition does not. |
Hey @jcarres-mdsol thanks a lot that you also had a look. Let's wait and see if it gets fixed. I double checked the MDN docs if there are changes which affect the APIs we are using but couldn't find anything. Cheers, |
@jcarres-mdsol may I ask from what tool you've taken the screenshot above? |
Grafana/Loki
Then opening a |
Here are the docs for the performance instrumentation. |
Oh, interesting, you are saying our text format in the log is different. Faro is way better, I really appreciate your work here |
Thank you so much @jcarres-mdsol 🙏 |
Faro uses it's own wire protocol (!) but we also provide a transport which transforms the Faro protocol to OTLP before sending it. But in case you use Grafana Cloud you don't need it. |
yeah, we are using the OTLP version. |
@jcarres-mdsol did you still notice any problems or can we close the issue? |
I think we can close yes. |
Description
documentParsingTime is always a big negative time.
Example of a navigation event:
In the above example the TTFB was 472, FCP 1807 and lcp 1977
Also I do not think numbers quite add up but I am just not understanding this well.
I would imagine FCP = TTFB + pageLoadTime but it is never quite that. Maybe my understanding is wong?
Also, does the navigation event has a time for LCP - FCP ? Or the point of providing those is to not need it to be in the navigation event?
Environment
Mac OS 14.1.1
Firefox 125.0beta9
Faro 1.5.1
Web SDK, Web Tracing, React
Desktop
The text was updated successfully, but these errors were encountered: