Inferensys

Glossary

Performance Baseline

A performance baseline is a set of established metrics and measurements that serve as a reference point for comparing future performance changes, typically established under controlled, reproducible conditions.
Analytics team reviewing AI metrics dashboard on large monitor, KPIs visible, modern data-driven office setup.
INFERENCE PERFORMANCE BENCHMARKING

What is Performance Baseline?

A performance baseline is the foundational set of quantitative metrics that serves as the definitive reference point for evaluating all future changes to an inference system's behavior.

A performance baseline is a set of established metrics and measurements that serve as a controlled, reproducible reference point for comparing future performance changes in a machine learning inference system. It is captured under specific, documented conditions—including hardware, software versions, model configuration, and a standardized synthetic workload—to ensure comparisons are valid. Core metrics typically include latency (P50, P90, P99), throughput (QPS, TPS), Time to First Token (TTFT), Time per Output Token (TPOT), and hardware utilization (GPU/CPU). Establishing this baseline is the critical first step in performance regression detection, capacity planning, and validating optimization efforts.

The baseline enables rigorous bottleneck analysis and objective evaluation of any system modification, such as a software update, model change, or hardware upgrade. Without it, claims of performance improvement or degradation are anecdotal. In practice, a baseline is not static; it should be re-established when core dependencies change. It directly informs Service Level Objectives (SLOs) and is essential for creating a throughput-latency curve to understand system limits. For teams practicing Evaluation-Driven Development, the performance baseline is a non-negotiable engineering artifact for maintaining production reliability and cost control.

INFERENCE PERFORMANCE BENCHMARKING

Key Components of an Inference Performance Baseline

A performance baseline is a set of established metrics and measurements that serve as a reference point for comparing future performance changes, typically established under controlled, reproducible conditions. This grid details its essential, measurable components.

01

Latency Metrics

Latency measures the time delay for request processing. A comprehensive baseline includes:

  • Time to First Token (TTFT): The initial delay before token generation begins, dominated by prompt processing.
  • Time per Output Token (TPOT): The average time to generate each subsequent token in an autoregressive stream.
  • Percentile Latency (P50/P90/P99): Statistical measures of the latency distribution, where P99 (tail latency) is critical for user experience.
  • End-to-End Latency: The total time from client request to final response receipt, including network overhead.
02

Throughput Metrics

Throughput quantifies the system's processing rate under load. Key metrics are:

  • Queries Per Second (QPS): The number of complete inference requests processed per second.
  • Tokens Per Second (TPS): The total output tokens generated per second across all concurrent requests.
  • Concurrent Request Capacity: The maximum number of simultaneous requests the system can handle while meeting latency Service Level Objectives (SLOs). Throughput is measured across various load levels to create a throughput-latency curve, identifying the system's saturation point.
03

Resource Utilization & Efficiency

This component measures hardware efficiency during inference, critical for cost analysis. It includes:

  • GPU Utilization: Percentage of streaming multiprocessors (SMs) actively computing.
  • GPU Memory Usage: Peak and steady-state consumption of VRAM.
  • Memory Bandwidth Utilization: Critical for identifying memory-bound workloads.
  • CPU Utilization: Host processor usage, often a bottleneck for pre/post-processing.
  • Power Draw: Watts consumed, directly tied to operational expense. Tools like NVIDIA Nsight Systems or AMD ROCprofiler collect this performance telemetry.
04

Service Level Indicators (SLIs) & Objectives (SLOs)

SLIs are the measurable metrics that define service quality. For an inference baseline, core SLIs are:

  • Latency SLI: e.g., P99 end-to-end latency.
  • Throughput SLI: e.g., sustained QPS.
  • Availability SLI: e.g., successful request rate (success / total).

Service Level Objectives (SLOs) are the target values for these SLIs (e.g., "P99 latency < 200ms for 99.9% of requests"). The baseline documents the system's performance against these SLOs under defined load.

05

Workload Characterization

A baseline is meaningless without a precise definition of the input workload. This includes:

  • Request Profile: Input prompt length distribution (mean, max).
  • Output Profile: Expected output token length distribution.
  • Request Arrival Pattern: Constant request rate, Poisson-distributed (random), or bursty.
  • Synthetic vs. Real-World: Whether the load is generated artificially (synthetic workload) or sampled from production logs (real-world workload). This characterization ensures the baseline is reproducible for load testing and performance regression detection.
06

System Configuration & Environment

Every baseline must document the exact hardware and software stack to ensure reproducibility:

  • Hardware Specs: GPU model (e.g., NVIDIA H100), CPU, memory, network interconnect.
  • Software Versions: OS, driver, CUDA/cuDNN, Triton Inference Server, PyTorch/TensorFlow.
  • Model Configuration: Precision (FP16, INT8), graph optimizations, continuous batching window size, KV cache parameters.
  • System Settings: Power limits, clock speeds, and any BIOS/firmware tunings. This record is essential for bottleneck analysis and fair comparison after any change.
INFERENCE PERFORMANCE BENCHMARKING

How to Establish a Performance Baseline

A performance baseline is a set of established metrics and measurements that serve as a reference point for comparing future performance changes, typically established under controlled, reproducible conditions.

Establishing a performance baseline involves executing a synthetic workload or representative real-world workload under controlled, reproducible conditions to capture key metrics like latency, throughput, and hardware utilization. This process requires isolating the system from external variables, using a consistent performance profiler, and documenting the exact software, hardware, and configuration state. The resulting dataset becomes the definitive reference for detecting performance regression and validating optimization efforts.

A robust baseline must capture not just average performance but the full distribution, including percentile latency (P50/P90/P99) and tail latency. It should define the system's steady-state performance after any cold start latency, and may involve generating a throughput-latency curve to identify the saturation point. This baseline is essential for setting Service Level Objectives (SLOs) and is a prerequisite for meaningful load testing and bottleneck analysis.

COMPARISON

Performance Baseline vs. Benchmark: A Critical Distinction

This table clarifies the distinct purposes, methodologies, and outputs of a performance baseline versus a benchmark, which are often conflated in inference optimization.

CharacteristicPerformance BaselineBenchmark

Primary Purpose

Establish a stable internal reference point for measuring change over time

Compare performance against external standards or competing systems

Reference Point

Internal to a specific system, deployment, or code version

External, often against industry standards (e.g., MLPerf) or competitor systems

Temporal Nature

Longitudinal; measured repeatedly over the system's lifecycle

Cross-sectional; a snapshot comparison at a point in time

Core Question Answered

Has our system's performance changed since the last measurement?

How does our system's performance compare to others or to a standard?

Typical Output

A historical record of metrics (latency, throughput) for a specific configuration

A ranked score or comparative analysis (e.g., 1.2x faster than System X)

Reproducibility Requirement

Extremely High. Must be perfectly reproducible under identical conditions (hardware, software, load).

High, but often generalized across equivalent hardware classes or cloud instances.

Use Case in Inference Optimization

Detecting performance regressions after model updates, configuration changes, or infrastructure patches.

Evaluating hardware choices, model serving frameworks, or optimization techniques before adoption.

Stability vs. Competition

Values stability and consistency; changes indicate a problem or an improvement.

Values competitive advantage; seeks to demonstrate superior performance.

PERFORMANCE BASELINE

Frequently Asked Questions

A performance baseline is the fundamental reference point for any inference optimization effort. These questions address its definition, creation, and critical role in measuring system improvements and regressions.

A performance baseline is a set of established metrics and measurements, captured under controlled and reproducible conditions, that serves as a definitive reference point for comparing future performance changes in an inference system.

Establishing a baseline is the first step in systematic performance benchmarking. It involves measuring key indicators like latency (P50, P90, P99), throughput (QPS, TPS), and hardware utilization (GPU/CPU, memory) against a standardized workload. This snapshot allows engineers to quantify the impact of optimizations like model quantization or continuous batching, and to detect performance regressions caused by software updates. Without a baseline, claims of improvement are anecdotal.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.