1) Google Sheets use case
Long story short they are comparing the performance of server-side Java to client-side JS (Java transpiled through GWT/J2CL). So something like:
Java -> Hotspot -> native
vs
Java -> GWT/J2CL -> JS -> V8 (in Chrome) -> native
Apples to oranges.
They then used J2CL (I presume, not clear from the article) to port Java to Wasm and eventually got around 66% of the server-side Java performance. The Wasm performance story also was nowhere near straightforward - hence the immense efforts spent on optimizing WasmGC and validating the transpiler output.
The root of the problem is likely the GWT/J2CL transpiler output. There shouldn't be that much of a peformance drop off between to high-level languages if you're transpiling with speed in mind. I bet there are probably lots of expense runtime checks in the generated output, among others things.
2) Amazon Prime Video use case
Blog seems mostly fine on the surface. But my complaints are always the claims about the limits of performance one could get from a JS-based system - especially in environments where you can call out into native audio/visual libraries.
"In those experiments, code written in Rust and compiled to Wasm was 10 to 25 times as fast as JavaScript."
What does the JS versus Rust code look like? Are they using the similar libraries/graphics apis/techniques? Did they exhaust every possible low-level tool in JS (Worker Threads, SharedMemory, etc). I feel there are a also rainbow of optimization opportunities available if one controls V8 and the underlying C++ stack.
Not that their eventual Wasm architecture is bad per se, it's just layering Rust+JS -> Wasm/C++ is much more complex than simply JS -> C++ back and forth.
As a side note, it very annoying that SIMD was taken out of development for JS. Big TC39 wants wants JS to fail.
https://github.com/tc39/ecmascript_simd