What problem does it solve?
Provides a repeatable, config-driven mechanism to benchmark the performance of a deployed NVIDIA RAG Blueprint server, quantifying latency, throughput, and bottlenecks to inform optimization and capacity planning.
Core Features & Use Cases
- End-to-end profiling: captures server-side timings across retrieval, reranking, LLM inference, and overall TTFT.
- Load testing with presets: uses aiperf and YAML configurations to simulate realistic traffic and measure throughput and error rates.
- Bottleneck diagnosis: reports a stage-by-stage breakdown and highlights whether retrieval, reranking, or LLM time dominates.
- Reproducibility: supports grid sweeps and saved configurations so runs are repeatable across environments.
Quick Start
Run a quick benchmark by executing uv run --project scripts/rag-perf rag-perf -c scripts/rag-perf/configs/single_run.yaml