Static
getGenerates a performance report summarizing the metrics collected for each contract.
A JSON string representing the performance report, sorted by average time in descending order.
Static
measureMeasures the execution time of a given function (typically a contract method). It updates internal metrics based on the success or failure of the function's execution.
The return type of the function being measured.
The result of the executed function.
Provides performance monitoring utilities for contract execution. It measures the execution time and success/failure rates of contract methods.