Measuring consumed computational resources #13098
Replies: 3 comments 8 replies
-
CC @ggwpez |
Beta Was this translation helpful? Give feedback.
-
The first dimension of the weight is the time that it took to execute the transaction in pico (10^-12) seconds. We dont really have a breakdown chart of how much time a transaction took for DB, CPU. It just benchmarks that all and then outputs one number. The reason for this is that we normally dont want to benchmark with a full state, since it is tiresome to acquire and would often make the benchmarks fail because of invalid values in the snapshot. Otherwise could you describe what you need these numbers for and what you want to archiece? |
Beta Was this translation helpful? Give feedback.
-
Hi Oliver and Jeff, Thanks for taking the time to educate me on this. I am considering submitting a proposal towards Implementation benchmarking. I have a few questions about the same. Please help me. |
Beta Was this translation helpful? Give feedback.
-
Hi Substrate team,
How can I retrieve the information about the computational resources consumed to execute a transaction(both contract call and pallet extrinsic) from a substrate node? I understand that weight is used as a generic measure, but how can I retrieve the weight and how can I figure out how much time was spent doing DB operations, CPU time etc.
Beta Was this translation helpful? Give feedback.
All reactions