I'm not sure about the specifics of UE/Unity/Godot but I was under the impression that a Hello World in any of those for the web would be about 20MB where as the Three.js game I'm working on will be at most 1MB when done (not counting game music soundtrack).