Show the number of cycles used to execute a call #2783
ghost
started this conversation in
Feature Requests
Replies: 3 comments 2 replies
-
cc @lastmjs |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this would require instrumenting the WASM or replica support |
Beta Was this translation helpful? Give feedback.
2 replies
-
At a high level, I think the idea is very similar to how Ethereum works. When you perform a transaction, you know if the exact gas costs afterwards. I want to execute a call and know exactly how much it cost my canister...maybe bonus points if it gives more info about other canisters. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This came from a discussion that took place with the ICP.Labs team last week when they visited the Zurich office. The idea is that dfx should return the number of cycles a call consumed.
There are still a few open questions, and I'm leaving this intentionally vague to encourage some brainstorming and creativity.
Beta Was this translation helpful? Give feedback.
All reactions