Test Categories
Latency
Measure end-to-end latency for:- Model registration and validation.
- Compatibility analysis.
- Merge execution.
- Benchmark evaluation.
- Candidate promotion.
Throughput
Measure jobs completed per minute for:- Concurrent merge jobs.
- Concurrent benchmark runs.
- Concurrent evolution generations.
Memory
Measure peak memory usage for:- Model loading (full precision and quantized).
- Merge execution (intermediate tensors).
- Benchmark inference (batch size sweep).
Tokens Per Second
Measure generation throughput for InferenceBackend across batch sizes and sequence lengths. Report prefill and decode phases separately.Time to First Token (TTFT)
Measure latency from request submission to first generated token. TTFT is critical for interactive use cases.Test Matrix
Load Testing
Load tests simulate multiple concurrent users:- Ramp up requests over 60 seconds.
- Hold peak load for 300 seconds.
- Ramp down over 60 seconds.
- Measure error rate, latency percentiles, and resource utilization.
Baselines and Thresholds
Performance baselines are established on a reference hardware configuration. Deviations greater than 10% relative trigger investigation. Thresholds are documented in Performance Validation.Integration Points
- GPU Orchestration: performance tests validate GPU scheduling and memory limits. See GPU Orchestration.
- Inference Backend: tests exercise InferenceBackend under load. See Inference.
- Deployment: performance results feed into deployment decisions. See Performance Validation.
- CI: performance tests run weekly and on release candidates.
- Monitoring: metrics are exported to the observability stack. See Monitoring.