Lodash documentation hangs for a second or three on load in layout code
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(4 files, 1 obsolete file)
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 4•8 years ago
|
||
Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Comment 7•6 years ago
|
||
With the currently attached testcase, I noticed that Chrome gives large measurements on the first load (in the 1800ms range) and then smaller measurements thereafter (in the 200ms range) -- and they show the alert before the page has rendered.
So I'm suspicious that they might be firing onload before the first render, which might not make the current testcase an effective measurement of time-to-finish-the-layout.
Here's a modified version with a more explicit layout flush before the alert.
Comment 8•6 years ago
|
||
Sorry for not circling back on this for a while!
Good news, though... It seems to have improved since this was filed.
Using the attached "testcase 2", here's the range of measurements I'm seeing from various browser versions (performing 3 attempts with each):
Nightly from 2016-09-01: 5680-6000
Nightly from today: 1100-1350
Chrome: 700-1000
And using the original page ( https://lodash.com/docs/4.15.0 ), both Firefox and Chrome seem to react near-instantly when I change the documentation version in the dropdown now.
So I think this is largely WORKSFORME. Chrome is slightly faster, but not extremely perceptibly so, and not by an order of magnitude like before.
Comment 9•6 years ago
|
||
I'm closing out this bug since we've mostly closed the gap (per comment 8), and I filed bug 1523432 on the remaining small performance difference between us & chrome here.
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Thank you!
Description
•