WebAssembly is the faster option for WebGL applications on the web, not least because you also might want to run things like physics engines:
https://playgama.com/blog/general/boost-html5-game-performan...
https://playgama.com/blog/general/boost-html5-game-performan...