Gzipped unihan data file seems to hang
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: dopefishjustin, Assigned: waterson)
References
()
Details
(Keywords: perf, Whiteboard: [bae:20020116])
Attachments
(2 files)
Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
![]() |
||
Comment 4•23 years ago
|
||
![]() |
||
Comment 5•23 years ago
|
||
Comment 6•23 years ago
|
||
![]() |
||
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Updated•16 years ago
|
Comment 9•4 years ago
|
||
The testcase, http://www.unicode.org/Public/BETA/Unicode3.2/Unihan-3.2.0d2.txt.gz , seems to now be 404 "Not found", and I can't find a publicly-hosted version of this file, when searching Google for the filename.
So: this bug report is "incomplete" at this point. If anyone has a copy of this file and can still reproduce performance issues will it, please reopen. Thanks!
Comment 10•3 years ago
|
||
Ah, looks like we have a publicly-hosted version of probably-close-to-the-same-file here:
https://www.unicode.org/Public/3.2-Update/Unihan-3.2.0.txt.gz
Comment 11•3 years ago
|
||
Here's a local copy of that Unihan-3.2.0.txt.gz file, for archival purposes.
Comment 12•3 years ago
|
||
Here's a profile of me loading the page in current Nightly (fresh profile):
https://share.firefox.dev/3vUineb
We finish loading in under 6 seconds. The profile shows about a 3-second period of jank (all spent in reflow), and then we paint, and then another 2.4-second jank, and then we're done.
For comparison, Chrome does its first paint after 1-2 seconds (slightly sooner) but it seems to never finish layout. Here's a profile taken in Chrome for 90 seconds:
https://share.firefox.dev/3pKkeRM
It shows repeated 1-2sec bursts of layout work, continuing forever. Chrome's pageload-throbber never stops spinning, and eventually the process dies and the tab goes to an error page with Error code: SIGILL
. (I stopped profiling before that happened.)
So it looks like this is WORKSFORME -- loading in 6 seconds isn't great but it's much better than the behavior described in comment 0, and much better than the competition.
Description
•