wasmerio / docs.wasmer.io

The Wasmer Docs Website (website deployed using Wasmer Edge)
https://docs.wasmer.io/
MIT License
14 stars 7 forks source link

Why `wasmer run` takes seconds to execute #56

Closed hirameki34 closed 9 months ago

hirameki34 commented 9 months ago

Hi,

I'm trying to test boot time for wasm runtimes using a noop wasm file compiled from rust:

fn main() {}

When I excute wasmer run noop.wasm, it takes much more time than other runtimes (< 50ms).

Here's the output of time wasmer run noop.wasm -q (I use -q option to avoid printing time):

real    0m0.319s
user    0m3.088s
sys     0m0.314s

Did I take wrong method to measure boot performance of the runtime? Do I need more command options to optimize execute time for this simple wasm file? Or how can I measure boot time for this runtime?

Thanks for your answer : )

hirameki34 commented 9 months ago

Sorry, it seems I post at a wrong repository, closed.