[Webkit-unassigned] [Bug 247782] New: Very slow renderng of large files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 11 00:03:45 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=247782
Bug ID: 247782
Summary: Very slow renderng of large files
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vprelovac at gmail.com
CC: beidson at apple.com
Loading this URL
https://raw.githubusercontent.com/json-iterator/test-data/master/large-file.json
Takes unnecessary long time.
On my system it takes about 2 seconds to load the file, and 28 seconds to render it in DOM, which is unexpected given it is a text file.
Firefox does the same in about 12 seconds, which is still inefficient but still 2.5x faster.
Even stranger, loading the file with pure JavaScript:
fetch('https://raw.githubusercontent.com/json-iterator/test-data/master/large-file.json')
.then((response) => response.text())
.then((data) => document.write("<pre>"+data+"</pre>");
Takes only 2 seconds, or 15 times faster than native browser loading!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221111/10ec5e04/attachment.htm>
More information about the webkit-unassigned
mailing list