The speed differences between Python, JS, and C++/Rust are well documented. https://www.secondstate.io/articles/performance-rust-wasm/
But, of course, they are not universal and tend to have a large effect in areas where JS is rarely used — a selection bias one might say.