The AI Gateway has been tested under high load conditions to ensure optimal performance. This guide explains how to run benchmarks and interpret the results.
There are two methods to benchmark the gateway:
Use our automated benchmark script for comprehensive testing:
The script automatically:
Customize the benchmark using environment variables:
For custom benchmarks, use hey:
Recent benchmark results show impressive performance:
Metric | Value | Description |
---|---|---|
Throughput | 25,500 req/s | Requests processed per second |
Avg Latency | 7.8ms | Average response time |
P99 Latency | 15.8ms | 99th percentile response time |
Success Rate | 100% | Percentage of successful requests |
The gateway demonstrates:
Environment Setup
Test Configuration
Results Analysis
The AI Gateway has been tested under high load conditions to ensure optimal performance. This guide explains how to run benchmarks and interpret the results.
There are two methods to benchmark the gateway:
Use our automated benchmark script for comprehensive testing:
The script automatically:
Customize the benchmark using environment variables:
For custom benchmarks, use hey:
Recent benchmark results show impressive performance:
Metric | Value | Description |
---|---|---|
Throughput | 25,500 req/s | Requests processed per second |
Avg Latency | 7.8ms | Average response time |
P99 Latency | 15.8ms | 99th percentile response time |
Success Rate | 100% | Percentage of successful requests |
The gateway demonstrates:
Environment Setup
Test Configuration
Results Analysis