wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

support for gas metering

Open rockwotj opened this issue 1 year ago • 1 comments

Other Wasm runtimes have support for gas metering or fuel that allow Wasm code to have an upper bound on computation. Wasmtime's implementation even supports yielding. It'd be great to have this support in wamr

https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.consume_fuel

rockwotj avatar May 01 '23 02:05 rockwotj

This would be a really nice feature to have.

PhaniKb avatar Mar 01 '24 10:03 PhaniKb