Closed Bug 1690925 Opened 4 years ago Closed 4 years ago

Don't animate the skeleton UI if we're in a fast startup

Categories

(Firefox :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: alexical, Assigned: alexical)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The 5th percentile of startup times seems to have experienced a regression due to the skeleton UI. For a number of reasons it seems like this is due to the animation running. However, there is no noticeable regression for higher percentiles. I think we should sleep the animation thread for ~2 seconds before running it, to try to eliminate the effect for faster startups.

This avoids paying a cost for animating the skeleton UI for faster startups.
Slow startups don't seem to be affected, given the data available. This is
likely due to slow startups being dominated by IO.

Assignee: nobody → dothayer
Status: NEW → ASSIGNED
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/301308351d08 Don't animate the skeleton UI if we're in a fast startup r=mconley,emalysz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: