Closed
Bug 1258961
Opened 10 years ago
Closed 8 years ago
Firefox hangs when page contains large table
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzzilla, Unassigned)
Details
(Keywords: perf)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160315153207
Steps to reproduce:
Load page with large table (15 columns, 30000 rows). FF then stops responding. In comparison, Chrome just chugs along.
Can't attach the test page (because FF hangs!), but attaching test PHP script to generate test page.
| Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Updated•10 years ago
|
Component: Untriaged → Layout: Tables
Product: Firefox → Core
Could you zip the HTML page and attach it to the bug. PHP script is not really useful to test.
Flags: needinfo?(bugzzilla)
| Reporter | ||
Comment 2•10 years ago
|
||
I'll have to find a way to get the result without using FF (because FF is dead when loading the page).
You can save the webpage from a different browser. Or maybe add a commad to your PHP script to save locally the resulting HTML file.
| Reporter | ||
Comment 4•10 years ago
|
||
Flags: needinfo?(bugzzilla)
Comment 5•8 years ago
|
||
The attached testcase contains 30000 table rows with 15 cells in each row;
each cell has a text node with a few characters.
Current Firefox Nightly (57.0a1 (2017-08-29)) on Linux renders it in 8 seconds.
Current Chrome Canary (62.0.3188.2) on the same machine renders it in 46 seconds.
(measured as the time it takes for the stop button to change to a reload button)
First paint in Firefox is 8 seconds.
First paint in Chrome is "instant".
So it seems flowing this page is a lot faster in Firefox than in Chrome,
although it doesn't *appear* that way since we don't paint the visible
part of the page until it's fully flowed for some reason. That's a known
problem though.
Anyway, I don't see a "hang" on this page in a current Nightly on Linux.
(Please reopen if it can be reproduced on some other platform.)
You need to log in
before you can comment on or make changes to this bug.
Description
•