CosmWasm / wasmvm

Go bindings to the running cosmwasm contracts with wasmer
Apache License 2.0
169 stars 100 forks source link

Test performance for calls into contracts #504

Closed webmaster128 closed 5 months ago

webmaster128 commented 5 months ago

To get an idea what it costs to call into a contract.

In the CI and my machine this takes roughly twice the time of the "Combined/get instance from memory cache and execute" benchmark in cosmwasm-vm

System cosmwasm-vm benchmark Call from Go
Circle CI (Docker/medium) 85 µs 112 µs
My machine 44 µs 56 µs