bytecodealliance / bytecodealliance/wasmtime
CLI statistics for wasmtime modules
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
#### Feature
I believe wasmtime could benefit from outputting statistics regarding running instances. I'd ideally love to see: CPU, MEMORY usage and start up time (for cold starts)
#### Benefit
I believe outputting these stats will make a direct comparison to containers easier, thus making wasmtime adoption more appealing by highlighting its strong sides
#### Implementation
WasmEdge CLI has something simliar (not exactly all of the stats, but its a start) with the CLI option "--enable-all-statistics" (https://wasmedge.org/docs/start/build-and-run/cli/)
#### Alternatives
I know that wasmtime supports linux profiling with perf, but i was not able to measure the 3 metrics mentioned above using perf
Contributor guide
Assessment
This issue has not been assessed yet.