[webkit-qt] QtWebKit and SunSpider Benchmark: - are these expected results

Jocelyn Turcotte jocelyn.turcotte at digia.com
Wed Feb 20 06:33:01 PST 2013


Hi Stan,

there is a certain feature parity between QWidget and QtQuick but less in the areas where QWidget isn't fit for the purpose.
Many new features related to "quickly animating stuff around on the screen", shader effects and other OpenGL integrations are moving in the scope of QtQuick.

Since we started working on WebKit2 exactly for those purposes, there is no plan to have WebKit2 tightly integrated with QWidget.
Another considerable advantage that I see of WebKit2 over WebKit1 is the process separation but, as far as I know, this is not a strong requirement for most Qt applications.

That said, Gunnar just published a blog post yesterday on this subject: http://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/
I didn't try it out myself but this should allow you to use the WebKit2 WebView with your QWidget application at the price of some limitations.

Cheers,
Jocelyn


On Tue, Feb 19, 2013 at 06:15:31PM +0000, Stan Pensak wrote:
> Thank you, Jocelyn.  I really appreciate the background information.  It seems unfortunate that it's not so easy to get these details from elsewhere, whether I look at webkit.org, qt-project.org or digia.com.
> 
> I just have one more quick (no pun intended) question.  Digia's intro page for Qt 5 highlights the fact that Qt WebKit2 is part of Qt 5.  Is that something I have any way to take advantage of in the Qt widget-based world, or is it only part of Qt Quick and QML?
> 
> We are enthusiastic users of Qt with many man years of effort around Qt 3, 4 and now 5.  We want and expect the Qt widget world to maintain feature parity with the QML and Qt Quick approaches.  If this is not going to happen it's probably better that we know sooner latter than later.
> 
> Thanks again.
> Stan
> 
> 
> -----Original Message-----
> From: webkit-qt-bounces at lists.webkit.org [mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of Jocelyn Turcotte
> Sent: Tuesday, February 19, 2013 12:33 PM
> To: Osztrogonác Csaba
> Cc: webkit-qt at lists.webkit.org
> Subject: Re: [webkit-qt] QtWebKit and SunSpider Benchmark: - are these expected results
> 
> Hi Ossy,
> 
> those are cool numbers! I looked at what it would take to get DFG JIT and it seemed like it would take some work.
> My main issue is that it would make sense to enable it for 32bit at the same time, and that we should put some testing effort before we release something like this, but we don't have this at reach.
> 
> I didn't know that LLINT would give a big improvement in addition to JIT, it's not enabled at all on Windows and it seems like it might be worth looking at before DFG depending on the effort it needs and the risk it introduces.
> 
> Jocelyn
> 
> 
> On Tue, Feb 19, 2013 at 06:06:45PM +0100, Osztrogonác Csaba wrote:
> > Hi,
> > 
> > Jocelyn, have you tried to enable DFG JIT and/or LLINT on Windows? 
> > Both of them can speedup JSC.
> > But I have no idea how MSVC friendly the LLINT asm is ...
> > 
> > On my Linux box I got the following numbers a week before for SunSpider:
> > - interpreter (LLINT C-loop):   836 ms
> > - LLINT (asm):                  480 ms
> > - JIT:                          305 ms
> > - LLINT + JIT:                  193 ms
> > - LLINT + JIT + DFG-JIT:        140 ms
> > 
> > Ossy
> > 
> > Jocelyn Turcotte írta:
> > >Hi Stan,
> > >
> > >Chrome uses V8, while other ports of WebKit, including Qt, use JavaScriptCore (Qt only uses V8 for QML).
> > >JavaScriptCore has similar performance to V8 on Mac after Apple implemented what they call DFG JIT.
> > >On Windows 32bit it still has basic JIT.
> > >On Windows 64bit it lags way behind, where it's still using the interpreter.
> > >
> > >This patch brings basic JIT support for Windows x64 and should be 
> > >released with Qt 5.1: https://bugs.webkit.org/show_bug.cgi?id=107965
> > >This should be 2x-4x times faster than the interpreter according to my quick tests.
> > >But this still doesn't add support for DFG JIT, still only available on Mac and Linux, which would bring JS performances closer to Chrome's.
> > >
> > >So yes sadly I think that this kind of performance is currently expected on Windows x64 with Qt 5.0.
> > >
> > >Cheers,
> > >Jocelyn
> > _______________________________________________
> > webkit-qt mailing list
> > webkit-qt at lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-qt
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt


More information about the webkit-qt mailing list