The performance of my Godot project in the normal desktop debug and release builds was starting to become an issue as I increased the size and complexity of the world, but I optimised it and it's better now.
However the performance of the web export in both Firefox/Chrome is less consistent, and I'm not sure what to do about it since I can't easily profile that build. Disappointingly a tile based 2D game might not be playable at 60FPS in browsers on older computers.
I blame WebAssembly before I blame Godot because when I exported to web with the earlier SDL version of this project it also performed noticeably worse. If I was using SDL I would probably be able to make it lighter though.