[webkit-dev] Performance Difference between Webkit and Wekit2 API's

Konstantin Tokarev annulen at yandex.ru
Wed May 10 06:41:03 PDT 2017



10.05.2017, 16:20, "Rodney Dowdall" <rdowdall at cranksoftware.com>:
> Hello
>
> We currently have a port of WebKit that uses the WebKit API.  It works well, but the performance isn't quite at the level of some other WebKit ports.
>
> I was wondering if there would be an expected performance gain by using the Webkit2 API.  My line of thinking is that the streamlining that takes place under the WebKit API could be killing our performance.

WebKit 2 is mostly about getting lower latency in GUI and using more CPU cores at the same time, at the cost of large amount of inter-process communications and higher memory usage, as well as loosing direct access to DOM and page's networking stack inside host application (UI process)

Performance should be more or less the same, but in WebKit 2 execution of JavaScript no longer blocks your UI process.

>
> Are there any performance numbers that show if there is a difference between the two API's?
>
> Thanks,
> Rodney
> --
>
> Rodney Dowdall
>
> Senior Software Developer
>
> t. +1 (613) 595 1999 x513
>
> e. rdowdall at cranksoftware.com
>
> w. www.cranksoftware.com
>
> ,
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev


-- 
Regards,
Konstantin


More information about the webkit-dev mailing list