All this time, toying with #WebGPU, it turned out I was not even using the discrete GPU in my laptop! Have I never looked at the Performance screen in my Task Manager while doing so?! 🤦♂️
Anyway, if you are a Windows user and you are playing with WebGPU on a device that has both an integrated (energy saving) GPU and a high-performance discrete GPU, make sure you run your #Chromium browser with the following command line option: --force_high_performance_gpu
Or enable that flag in chrome://flags ... Some of the silly demos I wrote jumped from a mediocre 15-20 FPS to 60 FPS just by turning it on
It seems the implementation of WebGPU in Chromium has issues selecting the high performance adapter, even if instructed to do so, according to the following bug:
https://issues.chromium.org/issues/369219127
It appears #Firefox has the same issue, and I do not know yet of any workaround there, like the one for Chromium.

