Skip to main content

Posts

Showing posts with the label wasi

Speed test of wasm at node vs deno vs wapm

Recently, I have created an app in Rust language for  macOS then to make it cross-platform, ported it for other platforms using WebAssembly. I have ported the app for these platforms: WAPM ⟶ Using WASI file as binary, i.e., generated via Rust Deno ⟶ Using WASM file as library, i.e., generated via Rust Node.js ⟶ Using WASM file as library, i.e., generated via Rust Initially, I had made it on macOS where it runs very fast but on Windows it gets slowed down so much that is clearly visible. So I tried to measure it somehow for which I took a command for the app which decodes the input parameter. Here is that command, > ds -d 31kk ⟶ 3-1-2020 Now I need to measure the timelapse after each execution for which I'd used > w32tm /query /status /verbose | find "Time since" && node ds -d 31kk && w32tm /query /status /verbose | find "Time since" && deno ds -d 31kk && w32tm /query /status /verbose | find "Time sin...