[webkit-help] Network performance in webkit-cairo port

Yannick Poirier contact at yannickpoirier.fr
Fri Nov 9 13:40:06 PST 2012


Hi Chris,

Actually the poll time and select time are a bit too high.

By default curl writes chunk of 16 KB  ( CURL_MAX_WRITE_SIZE ), pool time
is 0.05s
 16KB / 0.05s = 320KB
So you might not be able to download a single file faster than 320KB/s

You can try to decrease selectTimeoutMS or pollTimeSeconds in
curl/ResourceHandleManager.cpp to have a more aggressive download loop.

Yannick

On 9 November 2012 18:37, Chris Hatko <chatko at gmail.com> wrote:

> I've noticed some big difference in network speed (esp download speed)
> between my default browser (Chrome) and windows  webkit-cairo port.
> Specifically:
>
> Using Chrome
> Download Speed: *31611* kbps (3951.4 KB/sec transfer rate)
> Upload Speed: *3102* kbps (387.8 KB/sec transfer rate)
>
> Using Webkit Cairo (lib curl)
> Download Speed: *5199* kbps (649.9KB/sec transfer rate)
> Upload Speed: *2743 *kbps (342.9KB/sec transfer rate)
>
> I'm digging around in the libcurl setopts and wondering if anyone has any
> ideas/experience on how to speeding-up Cairo's networking.
>
> Thanks,
>
> Chris
>
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20121109/5319da47/attachment.html>


More information about the webkit-help mailing list