Performance problems - JavaScript (QWebEngine vs Google Chrome)
-
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.10Also 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:
Nano:
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 -
Could be the same problem:
https://forum.qt.io/topic/82530/qt5-can-webgl-work-with-angle-on-windows-via-qtwebengineSo we have no options to increase the performance, because webengine cant use ANGLE? Would explain the difference FPS rate... Dammit..