State of API Performance

Latency benchmarks, error rate patterns, and performance insights across web frameworks.

Last updated: March 2026

8
Frameworks benchmarked
7
Languages covered
47ms
Median P50 latency
2.3%
Avg error rate

API Latency by Framework

Median (P50), P95, and P99 response times for common web frameworks handling typical CRUD API workloads.

Key Takeaways

  • Gin (Go) and Fastify (Node.js) lead with sub-10ms P50 latencies
  • P99 latency is 3-8x higher than P50 across all frameworks
  • Django and Rails show the widest P50-to-P99 gap due to ORM query variance

Error Rates by Framework

Percentage of API requests resulting in 5xx errors, averaged across production applications.

Top Performance Bottlenecks

The most common causes of high latency identified in distributed traces, ranked by frequency.

RankBottleneckFrequencyImpact

Database Query Latency Patterns

Average latency contribution of database operations in traced API requests.

Time Spent in DB (pct of total request)

N+1 Query Detection

34%
of traced applications have N+1 query patterns
4.2x
average speedup after fixing N+1 queries

Methodology

This report aggregates anonymized performance data from production applications monitored by TraceKit, supplemented with publicly available benchmark data from framework maintainers and the OpenTelemetry community. All data is anonymized and aggregated.

See where your APIs stand

Get latency percentiles, error rates, and bottleneck detection for your production APIs.