Closed Bug 1258961 Opened 10 years ago Closed 8 years ago

Firefox hangs when page contains large table

Categories

(Core :: Layout: Tables, defect)

45 Branch
x86_64
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzzilla, Unassigned)

Details

(Keywords: perf)

Attachments

(2 files)

184 bytes, application/x-php
Details
72.46 KB, application/x-zip-compressed
Details
Attached file largetable.php
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.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
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)
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.
Attached file HTML output
Flags: needinfo?(bugzzilla)
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.)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Keywords: perf
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: