[Webkit-unassigned] [Bug 68160] New: curl backend has horrible performance
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 15 07:36:53 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68160
Summary: curl backend has horrible performance
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit EFL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: o.gorter at activevideo.com
CC: demarchi at webkit.org, gyuyoung.kim at webkit.org
Created an attachment (id=107496)
--> (https://bugs.webkit.org/attachment.cgi?id=107496&action=review)
fix
The curl backend always uses a poll timer, and worse, doesn't fully read all kernel buffers when there is work to do. Instead it always defers more work to the next poll interval. Loading large images takes a lot longer then it should. Attached is a fix that:
* schedule work immediately and not using poll timeout
* never wait in select, just ask kernel for activity
* if select was useful, do work and immediately try select again
* only if there is nothing more to do but wait on network traffic, poll every 0.02 seconds
--
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