Performance
When answers feel slow, there are only two suspects: the provider, or MAIA Plus itself. Performance exists to separate them with numbers instead of impressions — and the distinction decides whether you fix configuration or open a ticket with a vendor.

A benchmark compares external provider time against internal MAIA Plus work across the scenarios you select.
What it is
Section titled “What it is”| Term | Meaning |
|---|---|
| Benchmark | A controlled run over selected scenarios, started and stopped from this tab |
| External provider | Time spent waiting for the model, embedding or NER response |
| Internal work | Time MAIA Plus spent on its own work: retrieval, assembly, policies, database |
| Average | Mean latency across the scenario set |
| P95 | The slow tail — the number users actually complain about |
| External share | What portion of the total came from the provider |
How it works
Section titled “How it works”- You configure a benchmark and start it.
- Each scenario performs a realistic operation against the saved configuration.
- Per operation, the measured time is split into provider wait and internal work.
- Results are aggregated as average and P95, plus the external share.
A benchmark is therefore a real workload: it consumes provider tokens, and with write-capable scenarios it can change data. Run it in a quiet window and with a scenario set you understand.
Reading the result:
| Observation | Interpretation |
|---|---|
| High external share | The provider is the latency; check the region, the model size, and timeouts |
| High internal share | Retrieval, prompts or database — look at the knowledge base, then PostgreSQL |
| Average fine, P95 bad | Tail effect; usually one slow scenario, cache misses or connection pooling |
| Both low, users still complain | The latency is not in MAIA Plus — look at SDP, the reverse proxy, or the client |
Run one
Section titled “Run one”- Open Administration → Performance.
- Configure the benchmark: which scenarios, how many runs.
- Select Run benchmark. The control becomes Stop benchmark while it runs.
- Wait for aggregation; Show details exposes per-scenario numbers.
- Compare against your previous run — absolute numbers mean little without a baseline.
Keep one “known good” result per release. A number without history cannot tell drift from noise.
Prerequisites and boundaries
Section titled “Prerequisites and boundaries”- The AI Provider routes must be assigned; an unassigned route fails the scenario rather than measuring it.
- The knowledge base should be in the state you intend to measure — benchmarking against a half-indexed corpus measures a situation that does not exist.
- Do not benchmark during a bulk re-index; you will measure the re-index.
- Provider-side rate limits distort results: a
429retry looks like latency.
Limits and failure modes
Section titled “Limits and failure modes”- Benchmark on a busy host → internal numbers include contention from real traffic.
- Scenario set too small → averages look stable and P95 is meaningless.
- Cost of the benchmark itself → tokens are spent; a large run is not free.
- Comparing across model changes → a different model invalidates the baseline.
- Ignoring the client → the slowest part can be the reverse proxy TLS handshake or SDP page rendering, which a benchmark never sees.
Related topics
Section titled “Related topics”AI providers · Diagnostics · Quality · Platform support and sizing