Get Statistics • AI Agents Framework

get_statistics: Get statistical analysis of timing data.

get_statistics

Method

</div>

This is a method of the Profiler class in the profiler module.

Get statistical analysis of timing data.

Returns p50, p95, p99, mean, std_dev, min, max.

Signature

python
def get_statistics(category: Optional[str]) -> Dict[str, float]

Parameters

ParamField Optional

No description available.

Returns

ResponseField Dict[str, float]

The result of the operation.

Uses

  • statistics.mean
  • statistics.stdev
  • percentile

Used By

Source

View on GitHub

praisonai/profiler.py at line 600