"On Firefox I'd say it's actually unusable, but it's still not pleasant on Chromium either. This seems to be a common outcome when you let the LLM vomit code into a browser, and don't have the domain knowledge and experience needed to keep it from making perf mistakes."
It is a common outcome of using a browser for graphic heavy apps that has only a small fraction of engineer power that chrome has. I have not looked at the code here, but I doubt there is much one can do, there is not really "domain knowledge" for FF graphics, except knowing all the things missing - those API's should work the same on every browser. FF just lacks behind the implementations so is slower in general especially anything graphic related webGL/WebGPU. Because that stuff is complicated! So many different devices and drivers, ... and I assume you are on Linux? That doesn't make it easier, WebGPU is still blacklisted by default there even with Chrome.
I don't think this app is using WebGL at all. In the sources I'm reading I'm just seeing calls to canvas.drawImage, which is inherently a much slower API.
It is a common outcome of using a browser for graphic heavy apps that has only a small fraction of engineer power that chrome has. I have not looked at the code here, but I doubt there is much one can do, there is not really "domain knowledge" for FF graphics, except knowing all the things missing - those API's should work the same on every browser. FF just lacks behind the implementations so is slower in general especially anything graphic related webGL/WebGPU. Because that stuff is complicated! So many different devices and drivers, ... and I assume you are on Linux? That doesn't make it easier, WebGPU is still blacklisted by default there even with Chrome.
Replies (1)
Replies (1)