WebGL performance issues
See original GitHub issuePerformance of WebGL compared with Chrome and Chromium is subpar
Whilst playing around with some WebGL 2 code I noticed that fps seemed to be roughly half of what Chrome was chucking out. Rendering 2 million cubes produced around 29fps whilst in Chrome it easily hit 60fps.
So I ran some more tests with a proper benchmark site https://web.basemark.com. These were all run on my Razer Blade 14 (2017) running Windows 10 x64.
Here are my results:
- Brave Nightly 0.66.24 (Chromium: 74.0.3729.108) - Score: 585.08 (didn’t complete)
- Brave Release 0.63.48 (Chromium: 74.0.3729.108) - Score: 531.3
- Chrome 74.0.3729.108 - Score: 926.73
- Chromium 74.0.3729.108 - Score: 947.62
These confirmed my suspicions and is quite substantial.
I did notice that Chrome has some additional Driver Bug Workarounds under chrome://gpu
- disable_delayed_copy_nv12
- disable_direct_composition_layers
And one additional one in Brave Release:
- msaa_is_slow
If I had to guess I’d say this could be related to having a laptop with Intel and NVIDIA graphics cards. Those options that have been toggled above look like they’re related to picking the wrong card. But it’s just a guess.
Happy to provide more info or do more tests if needed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top GitHub Comments
+1 from https://www.reddit.com/r/brave_browser/comments/c8oe0b/webgl_is_very_slow_in_brave_compared_to_chrome/
Details from
chrome://gpu
here (Brave): https://gist.github.com/bsclifton/68e1ba1ee28cb1502d4b04eacf48228aSame user running
chrome://gpu
in Chrome: https://gist.github.com/bsclifton/573d8d4cbfe9065ae3e5c1e9aabb2861Hi @bsclifton, unfortunately performance is the same. Still down at around 10fps (I’ve changed the test a bit so fps has dropped but it’s same on Stable) on my test whereas Chrome is getting about 45fps.
Tested on Version 0.69.24 Chromium: 75.0.3770.100 (Official Build) nightly (64-bit) that I just installed.