Skip to content

CLI statistics for wasmtime modules #10519

Open
@MA3CIN

Description

@MA3CIN

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions