[Qt-interest] QtWebKit vs. Safari Javascript Performance

Sylvain Pointeau sylvain.pointeau at gmail.com
Fri Aug 21 14:04:41 CEST 2009


to illustrate the situation by some numbers:
using SunSpider

ARORA (using Qt/webkit)
Total: 1682.8ms +/- 3.6%

SAFARI
Total: 511.2ms +/- 3.6%

Is someone able to give some insights?

Cheers,
Sylvain

On Thu, Aug 20, 2009 at 8:55 PM, Sylvain Pointeau <
sylvain.pointeau at gmail.com> wrote:

> Very good question !!!!I am very interested to know as well
>
> Cheers,
> Sylvain
>
>
> On Thu, Aug 20, 2009 at 3:13 AM, Michael Vernick <michael at giantface.com>wrote:
>
>> I recently created a simple Qt program that employs a QWebView for
>> rendering Web pages.  I compared the performance of the QWebView enabled
>> program vs. the Safari browser running the Sunspider Javascript
>> benchmark. (http://www2.webkit.org/perf/sunspider-0.9/sunspider.html)
>> This is on Windows.
>>
>> Since Safari and QWebView both use the WebKit engine, I would have
>> thought that the Javascript performance would be similar.  Safari,
>> however, runs the benchmark about 5 times faster than the Qt program.
>>
>> Can someone enlighten me on why Safari would be so much faster?  Do they
>> have different Javascript engines?  Am I missing some kind of
>> optimization in Qt? (I created the program in Qt Creator, and made sure
>> I compiled the 'release' version).
>>
>> Thanks,
>>
>> mv
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090821/44d70d73/attachment.html 


More information about the Qt-interest-old mailing list