rooch-network / rooch

VApp Container with Move Language for Bitcoin ecosystem
https://rooch.network
Apache License 2.0
162 stars 85 forks source link

[GasProfiling] Use FlameGraph to display gas consumption during the transaction execution process. #2598

Open steelgeek091 opened 2 months ago

steelgeek091 commented 2 months ago

Use a specialized GasMeter to track gas consumption for basic instructions, storage, and function calls during a transaction. Then, use FlameGraph to display the gas consumption data in the form of a function call stack.

Implement Tasks: