[Webkit-unassigned] [Bug 52711] New: Performance issue while inserting CSS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 19 04:33:36 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52711
Summary: Performance issue while inserting CSS
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://www.extractwidget.com/mindex2test2.php
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: avitte at infonais.fr
This might be linked to bug 52561, while testing the workaround we posted for this bug, we discovered that CSS insertion is really slower with webkit compared to other browsers (FF for example)
This can be seen on http://www.extractwidget.com/mindex2test2.php (enter "parquet castorama" then OK), for each gadget the code before the alert is :
var d0=(new Date).getTime();
for (var i=0;i<currentCSS.length;i++) // currentCSS= array of CSS objects (LINK, STYLE)
{
zhead.$a(currentCSS[i]); //append CSS object to the head
};
alert((new Date).getTime()-d0);
As we can see the returned time for webkit based browsers is much higher than the one returned by FF for example.
On mobile devices, the returned time is in average 3 to 4 seconds per gadget on the iPhone 3G (!!!), 1s on android
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list