Skip to content
↑↓Navigate↵SelectescClose

VerifyApiKey Baseline

Performance baseline for AuthService.VerifyApiKey

AuthService.VerifyApiKey turns a presented Nexus API key into a shared Principal.

Run after the compose stack is healthy:

Terminal window
cargo test -p nexus-integration-tests verify_api_key_baseline -- --ignored

Record:

  • Git commit.
  • Machine and container runtime.
  • Number of verification calls.
  • p50, p95, and max latency.

No baseline has been recorded yet. Run the measurement above against a healthy compose stack and record the results (commit, machine, call count, p50/p95/max) in this section.

Once recorded, any later result greater than 2x the baseline should trigger investigation of the API-key verification path.

See Gateway Chat Path: Performance Baseline for how this verification call fits into the overall chat request path.