Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Am I using V8 engine?

    Qt WebKit
    3
    4
    2316
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DerekDomino last edited by

      Hello,

      I've run the following javascript benchmark in an Qt 5 application running a WebView and observe significant differences (factor 2.4) with Chromium (Google Chrome 26.0.1410.65):
      http://octane-benchmark.googlecode.com/svn/latest/index.html

      For the Qt 5 application, I've created a new project from Qt Creator by using the "Qt Quick 2 Application" wizard and replaced the main.qml by:

      @
      import QtQuick 2.0
      import QtWebKit 3.0

      Rectangle {

      width: 1024
      height: 768

      WebView{
      url: "http://octane-benchmark.googlecode.com/svn/latest/index.html"
      anchors.fill: parent
      }
      }
      @

      The Qt 5.0.0 64 bits application was compiled on Mac OS X 10.7.5 in Release mode with llvm 4.2 on Intel 2.2 GHz i7.

      The scores are the following:

      • Qt 5 app: 5461 (Qt 5.0.0), Debug mode scores around 4800
      • Safari: 8630 (Version 6.0.3 - 7536.28.10)
      • Google Chrome: 13208 (Version 26.0.1410.65)

      The following test report 'JSC' for Qt 5 app (may be this test is not that rock solid):
      http://jsbin.com/opuvas

      Is it possible to have V8 running with a WebView?

      1 Reply Last reply Reply Quote 0
      • T
        tucnak last edited by

        V8 support was abandoned.

        But you can try to break the rules: https://github.com/qtwebkit-v8ers/qtwebkit-v8

        1 Reply Last reply Reply Quote 0
        • J
          jelari last edited by

          hi tucnak,

          v8 support was abandoned?. do you have any link which talks about this topic ?

          1 Reply Last reply Reply Quote 0
          • T
            tucnak last edited by

            [quote author="jelari" date="1367230820"]hi tucnak,

            v8 support was abandoned?. do you have any link which talks about this topic ?[/quote]

            Looks like I don't but I heard it on IRC and mailing lists. Afair, maintainer of Qt WebKit claimed it.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post