Stream: git-wasmtime

Topic: wasmtime / issue #13931 Add Configurable Variable Fuel Co...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 22 2026 at 11:21):

d-sonuga opened issue #13931:

Summary

OperatorCost only configures a flat cost for each Wasm operator.
Operations like memory.fill can do variable work and priced with a fixed 1 fuel per byte.
Add configurable per byte/unit costs to OperatorCost for embedders to have control over how the pricing is
done for these kind of instructions.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 16:46):

fitzgen added the wasmtime:api label to Issue #13931.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 16:46):

fitzgen added the enhancement label to Issue #13931.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 20:30):

alexcrichton closed issue #13931:

Summary

OperatorCost only configures a flat cost for each Wasm operator.
Operations like memory.fill can do variable work and priced with a fixed 1 fuel per byte.
Add configurable per byte/unit costs to OperatorCost for embedders to have control over how the pricing is
done for these kind of instructions.


Last updated: Aug 30 2026 at 09:07 UTC