To give some context, what I want to do is take a piece of code in Rust, run it on a Windows machine, then take that piece of code, compile it to WebAssembly and run it in a browser. And then compare the performance between the two - how fast did the code execute (this one primarily), how much RAM, CPU, GPU the computer ate etc.
I'm pretty new to Rust. Any suggestions are much appreciated!