Skip to content

Analyze and Compare CPU Instruction Usage #272

Description

@codeZe-us

Developers need to know how their contract's CPU usage compares to the transaction limits to optimize their code and avoid unexpected out-of-gas failures.

  • Extract the actual CPU instructions used from the transaction metadata.
  • Compare the usage against the network's maximum CPU limit and calculate a utilization percentage.

Expectation: Prism displays a CPU usage metric showing the actual instructions used, the limit, and the percentage utilized.

Contributor telegram group: https://t.me/+sII7WPhll2liMGNk

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions