mirror of
https://github.com/extism/extism.git
synced 2026-01-09 13:57:55 -05:00
Further flesh out our runtime benchmarks: add benchmarks for sending bytes one-way into Wasm linear memory, as well as testing copy-in then copy-out. This compliments our `reflect` benchmark; we can get a sense of how expensive the sub-operations are via `echo` and `consume`. (Notably, we're missing a `produce` or `emit` that purely generates output and sends it to the host!) The source of these plugins is available in `extism/plugins` as `echo.wat` and `consume.wat` [1]. [1]: https://github.com/extism/plugins/pull/4/files
556 B
556 B