# Performance (/examples/evals/performance/overview)



`PerformanceEval` runs the callable separately for each enabled metric: warm-ups first, then runtime measurements, then memory measurements. `num_iterations` applies to each metric, and the default is 10 additional warm-up calls. Model retries, tools, delegation, and memory extraction can add provider requests beyond the callable count.

Memory measurements use Python’s `tracemalloc`; they do not measure process RSS, GPU memory, database-server memory, or remote model memory. Record dependency versions, database state, and model settings when comparing results.

| Example                                                                                                        | Description                                                                                                    |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| [Async Function Performance Evaluation](/examples/evals/performance/async-function)                            | Demonstrates performance evaluation for an asynchronous function.                                              |
| [Db Logging](/examples/evals/performance/db-logging)                                                           | Demonstrates storing performance evaluation results in PostgreSQL.                                             |
| [Instantiate Agent](/examples/evals/performance/instantiate-agent)                                             | Demonstrates measuring agent instantiation performance.                                                        |
| [Instantiate Agent With Tool](/examples/evals/performance/instantiate-agent-with-tool)                         | Demonstrates measuring instantiation performance for a tooled agent.                                           |
| [Instantiate Team](/examples/evals/performance/instantiate-team)                                               | Demonstrates measuring team instantiation performance.                                                         |
| [Memory Update Performance Evaluation](/examples/evals/performance/response-with-memory-updates)               | Demonstrates measuring performance when memory updates are enabled.                                            |
| [Response With Storage](/examples/evals/performance/response-with-storage)                                     | Demonstrates measuring performance when storage-backed history is enabled.                                     |
| [Simple Response Performance Evaluation](/examples/evals/performance/simple-response)                          | Demonstrates baseline response performance for a single prompt.                                                |
| [Team Response With Memory Simple](/examples/evals/performance/team-response-with-memory-simple)               | Measures Team memory after applying the documented async-stream consumption fix.                               |
| [Team Response With Memory Multi User](/examples/evals/performance/team-response-with-memory-multi-user)       | Demonstrates concurrent team performance across multiple users with memory.                                    |
| [Team Response With Memory And Reasoning](/examples/evals/performance/team-response-with-memory-and-reasoning) | Measures a reasoning-enabled Team after fixing stream consumption; enable debug output for allocation details. |
| [Comparison](/examples/evals/performance/comparison/overview)                                                  | These benchmarks compare agent instantiation patterns across non-Agno frameworks.                              |
