You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to the Wasmer runtime, it would be beneficial to implement instruction metering, allowing control to be handed back to the caller after executing a specified number of instructions.
Benefit
This would enable on platform with a cooperative scheduler to manage how WASM code is executed, preventing system overload.
Implementation
Introduce a function like wasm_func_call_with_metering that returns an after a given number of executed instruction, a boolean indicating whether the function reached its end.
Alternatives
None identified.
The text was updated successfully, but these errors were encountered:
Feature
Similar to the Wasmer runtime, it would be beneficial to implement instruction metering, allowing control to be handed back to the caller after executing a specified number of instructions.
Benefit
This would enable on platform with a cooperative scheduler to manage how WASM code is executed, preventing system overload.
Implementation
Introduce a function like
wasm_func_call_with_metering
that returns an after a given number of executed instruction, a boolean indicating whether the function reached its end.Alternatives
None identified.
The text was updated successfully, but these errors were encountered: