Is there an up-to-date Wasm op-code cost table in cycles? Or is it all 1 wasm instruction==1 cycle?
All I could find is a 5 year old reddit post with broken links.
I am interested in doing research on canister cost optimization and this is an important first step for me.
brady
2
The execution cost formula is:
total = base_fee + per_instruction_fee × num_instructions
Where on a 13-node subnet:
base_fee = 5,000,000 cycles
per_instruction_fee = 1 cycle per Wasm instruction
Cycle costs | ICP Developer Docs
So there is no per-opcode cost table — all Wasm instructions are counted uniformly at 1 cycle each, regardless of opcode type.
Thank you so much, this is exactly what I needed 