Performance

Defining the benchmark for performance of an API, providing an overview of how performance is approached and what it means, while also providing actual tests, results, and other evidence that demonstrates that performance is taken seriously.

Also known as: Latency, Throughput, SLO, Benchmarks

Example

performance.yaml
- type: X-Performance
  url: https://developers.example.com/performance

Standards

HTTP Headers

HeaderDirectionSpecDescription
Server-Timing response W3C Server-Timing Communicates server-side timing metrics to clients.
Timing-Allow-Origin response W3C Resource Timing Level 2 Permits cross-origin readers to access detailed timing values.

Media Types

OpenAPI Expression

Governance Rules

Risk & Compliance

Security: Performance instrumentation can leak internal topology via Server-Timing or trace identifiers; scrub upstream service names before exposing externally. Unbounded request shapes (large page sizes, deep filters) are both a performance and DoS risk.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Common Properties