Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved Performance problems - JavaScript (QWebEngine vs Google Chrome)

    QtWebEngine
    1
    2
    2121
    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.
    • t4ggno
      t4ggno last edited by

      Hello,

      I want to use QWebEngine for my application to show an interactive (but JavaScript rich) website. But the performance is slower than expected.

      Just a little test case:
      Website: http://vincentgarreau.com/particles.js/
      Chrome: > 60 FPS
      NanoBrowser (From Example): ~12 FPS
      Both on fullscreen @ 1920x1080
      OS: Windows 10
      Qt: 5.9.1 & 5.10

      Also I used the fix shown here: https://forum.qt.io/topic/82360/problem-with-qt-webengine-hardware-acceleration
      -> But no difference (just that chrome://gpu say "Hardware Accelerated", but performance is not increasing)

      Thats the difference when I watch the GPU environment.

      Chrome:
      0_1506709266366_bff3223b-dd30-4b5b-90aa-0a874adac759-image.png

      Nano:
      0_1506709237460_7e4d123b-9a43-4808-af95-219b042e2e2d-image.png

      Are there some settings I can use to increase the performance?
      Is the Nano Browser using Angle? Could that be the problem?

      I can provide more informations if required.

      Regards
      t4ggno

      1 Reply Last reply Reply Quote 0
      • t4ggno
        t4ggno last edited by

        Could be the same problem:
        https://forum.qt.io/topic/82530/qt5-can-webgl-work-with-angle-on-windows-via-qtwebengine

        So we have no options to increase the performance, because webengine cant use ANGLE? Would explain the difference FPS rate... Dammit..

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