Add UserTiming markers for Discovery Stream events
Categories
(Firefox :: New Tab Page, enhancement, P3)
Tracking
()
People
(Reporter: andreio, Unassigned)
References
Details
Attachments
(3 files)
UserTiming markers are useful in profile captures to signal when specific events happened.
detect-user-session-start.js
notifies when the new tab page became visible to the user.
We should add something similar for when sections have rendered, data finished downloading or other events that might be interesting.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
It looks like we get this for free if we turn on react-dev
. Maybe the scope of this bug should change to see if we can use the profile data to plot timing information.
Updated•2 years ago
|
Reporter | ||
Comment 2•2 years ago
|
||
Do you think it makes sense to include/use profiler markers in the performance numbers?
What I like about this is that it's easy to get this information, you only have to start the browser and it's already computed for you. This could easily be included as part of the review process when changing a component: we could compare before and after applying a patch and look at duration
field of several browser startups for that component (like Topsites in my screenshot).
The cool thing is that using the profiler you can make network requests so it's working with real world data.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
I think adding these markers probably makes sense!
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•1 year ago
|
Description
•