Earlier quoted context omitted.
The problem here is probably more download time, not run performance.
WebAssembly is binary packed bytecode and generally takes much less space than UTF-8 JavaScript source files.
That's not why these demos "Hello Framework" demos are 3-7MB though. That's due to the cost of shipping an entire widget system that takes complete responsibility for everything between raw user input to pixels on the screen, without using many of the affordances of browser APIs. This is really awesome for emulation, sandboxing, and preservation of software, but it's not a good route for saving bytes for the user.