AgentPerfBench: A 3,000-Row, 140K-NCU-Record Suite That Says Your vLLM Number Is the Wrong Number — aniketkarneai.com | aniketkarneai.com
Wednesday, November 11, 2026 Field notes on autonomous systems ● Amsterdam, NL
daily

AgentPerfBench: A 3,000-Row, 140K-NCU-Record Suite That Says Your vLLM Number Is the Wrong Number

AgentPerfBench (arXiv:2609.34683, Sep 28 2026) is a benchmark suite and profiling framework for agentic LLM inference. It replays real SWE-Bench and TerminalBench traces, samples from empirical ISL/OSL/turn-count distributions, sweeps to saturation, and ships 140,000+ per-kernel Nsight Compute profiles across four GPU platforms. The headline finding: a 70B model on H100 sees TTFT go from 239 ms (chat) to 1,139 ms (coding-agent) at saturation, and the gap compounds across the 88 turns of a long SWE-Bench session.

The paper landed on arXiv at the end of September and I only saw it because a Mastodon thread I follow linked to it last Tuesday with the comment “this is the vLLM team’s worst week in a while.” The thesis is short enough to put up front: the canonical LLM serving benchmarks — MLPerf Inference, the vLLM built-in suite, SGLang’s defaults, InferenceX — all measure the wrong workload. They pin the input sequence length and the output sequence length, sweep over a single fixed concurrency level, and report one number. The number they report is the number of a chatbot. The number anyone shipping a coding agent or a terminal agent actually needs is the number of a SWE-Bench session over 88 turns, and that number is somewhere between 1.5× and 7× worse depending on which axis you’re reading.

AgentPerfBench (Lau, Cao, Wong, Lai, Wu, Lane, Mullins, Shumailov, Zhao — Cambridge + Vector Institute + Google DeepMind, arXiv:2609.34683) is the first public benchmark suite I have seen that takes the gap seriously. It has three pieces: a workload surface built from real agentic traces replayed exactly and from synthetic profiles sampled from the same per-turn statistics; a saturation-based evaluation methodology that sweeps concurrency to the point where latency plateaus instead of stopping at a fixed level; and a multi-dimensional roofline analysis grounded in 140,000+ per-kernel Nsight Compute profiles across four GPU platforms. The dataset and the code are released under an open-source license; the public release so far is the 3,000+ benchmark results table and the NCU profile set, with the code repository anonymized for review at the time of the v1 paper.

The single most quotable number is the one for LLaMA-3.1-70B on H100. At saturation, the chat workload reports a 239 ms time-to-first-token and a 19 ms time-per-output-token. Switch the workload to a coding-agent profile and TTFT goes to 1,139 ms — a 4.8× increase — and TPOT to 28 ms, a 1.5× increase. Then make it a multi-turn SWE-Bench session over 88 turns. The accumulated context crosses the model’s 32K boundary, and per-turn median TTFT climbs to 433 ms versus the 62 ms the same hardware reports on the chat profile — a 7.0× gap. The TPOT stays roughly stable at 16–18 ms across the two workloads, which is the part that surprised me the most. I had assumed decode was the constraint under long context; the data says the bottleneck is prefill, and it is prefill because the snowballing effect (Zhao and Liu, 2026) keeps growing the input length every turn, which keeps pushing the operational intensity of the prefill kernel toward the compute-bound ceiling. By the final turn of a long session, the authors measure an accumulated context of 120,000 tokens. The weight matrix is shared across the batch, so the per-request DRAM footprint balloons with the KV cache, not the weights. That changes which kernel is the bottleneck on which hardware.

What existing benchmarks do, and where the gap lives

Section 2 of the paper does the patient thing and lays out, in a single Table 1, what each of the canonical serving benchmarks covers. MLPerf Inference v5.1 extends to long-context summarization but stays single-turn and tops out at the 128K-document task for LLaMA 3.1 405B. The vLLM and SGLang default harnesses target ShareGPT or fixed-length random-token traces at a single operating point, and they expose request-rate and max-concurrency knobs without sweeping to saturation by design. InferenceX uses fixed-length synthetic tokens and does not match agentic trace distributions at all. ML.ENERGY benchmarks energy consumption across 40 models but does not measure TTFT or produce kernel-level profiles. None of the nine capabilities the table tracks — agentic workloads, multi-turn sessions, NCU profiling, open-source traces, saturation-based measurement — is fully covered by any one of them. AgentPerfBench is the first suite I have seen that fills the table in for all five.

The methodological complaint that runs underneath the table is sharper than the table makes it look. The standard recipe of “fix ISL, fix OSL, measure at concurrency 8, report TTFT” is not just incomplete. It is misleading in a specific direction. A prefill kernel at ISL 512 sits near the memory-bound floor, where adding concurrency buys you throughput almost for free. A prefill kernel at ISL 17,000 — typical for the middle of a coding-agent session — sits close to the compute-bound ceiling, where adding concurrency stops helping and starts hurting latency because each request has to wait for the GPU’s compute pipeline to drain. The same hardware, the same model, the same concurrency, two completely different regimes. The first regime is what your vendor benchmark measures. The second regime is what your agent is actually running on.

How the workload surface is built

The bench has two complementary ways to put a workload on the wire. The first is exact trace replay: take a real SWE-Bench run, take a real TerminalBench run, take a real computer-use agent run, replay it on a serving endpoint, measure. The traces carry the real per-turn ISL, OSL, and tool-call distribution, so what you measure is the actual session. The problem with this is the obvious one — running a full SWE-Bench session per data point is slow, and scaling to 3,000+ benchmark results across 22 workload profiles is impractical at that fidelity.

The second path is what the paper calls synthetic distributional replay. Fit empirical distributions to the per-turn ISL, OSL, and turn-count statistics of the real traces, then sample from the fitted distributions to construct new sessions. Fill the request bodies with random tokens at distribution-matched lengths. The paper proves in an ablation (Appendix B.1) that the synthetic filler is faithful to the real traces at the serving-behavior level, and isolates two failure modes you have to handle: independent prefixes break deep-turn replay fidelity by 20–30%, and disabling the Automatic Prefix Caching (APC) that vLLM and SGLang apply behind the scenes breaks it further. The recipe that holds fidelity is “shared 1024-token synthetic prefix, code-like text shape, APC on” — which the paper reports as within noise of the real-trace replay.

The result is a workload surface with concrete numbers I can put on a slide. The mean ISL across the four multi-turn profiles is 833 (chat), 4,666 (computer-use), 10,472 (terminal), 12,929 (coding-agent); the mean OSL is 634, 1,695, 2,123, and 2,208 respectively; and the mean turn count is 78 across all four profiles. The “78 turns” line is the one that stops me. A session of 78 turns of a coding agent is what the average benchmark workload looks like in 2026, and the canonical serving benchmarks never measure it.

Saturation is the methodology that fixes the under-report

The other methodological move is in how AgentPerfBench runs the sweep. Rather than fixing concurrency and reporting a single number, it sweeps the request arrival rate from low to high and identifies the knee point where latency plateaus. Below the knee, the serving system is underloaded and you are measuring request arrival, not serving capacity. Above the knee, the system is saturated and adding more requests costs you latency without buying you throughput. The knee is where the hardware’s true capability shows. The paper’s complaint — and the mastodon thread I saw was making the same point more bluntly — is that every prior public benchmark stops below the knee and calls that number the answer. Under-reporting true capacity is a directionally conservative error; for the person buying hardware it means the vendor’s number is the floor, not the ceiling.

I tried to recreate the methodology in a small way on a side project last week and the result was humbling in the expected direction. I had been benchmarking a Qwen3.8-27B FP8 deploy on a single H100 against a fixed concurrency of 16 and calling the result “the number.” When I swept instead, the knee was at concurrency 31 and the latency at 16 was 38% lower than the latency at 31. The TTFT gap is 4.8×; mine was 1.6× because the hardware is smaller and the model is smaller, but the direction was the same. I had been reporting a number that was wrong in a way that made the hardware look better than it was at the operating point my agent actually hits. I am not the first person to have made this mistake and I will not be the last.

What the kernel-level roofline shows

Section 4 of the paper attaches a multi-dimensional roofline to the serving numbers. The first dimension is the standard one — operational intensity on the x-axis, achievable FLOPs on the y-axis, with the memory bandwidth and compute peak as the two asymptotes. The second dimension is the one the paper adds, and it is the more useful one for serving: a capacity footprint axis that tracks the DRAM bytes per concurrent request as the context grows. For a single H100 with 80 GB of HBM, the capacity footprint budget for KV cache is 0.075 GB at 512 tokens, 1.14 GB at 8K, 4.43 GB at 32K, and 17.7 GB at 128K. Multiply by the maximum concurrent request count you want to serve, and you either fit in HBM or you do not. If you do not, the choice is between tensor parallelism (which costs you money) and KV cache paging (which costs you latency) or PagedAttention-style block scheduling (which is what vLLM already does — and which the AgentPerfBench workload explicitly stresses).

The kernel-level NCU records give the per-kernel breakdown the vendor dashboards never do. Across the 11 model architectures, the gate and up projections together account for 44.0% of the forward-pass latency on the dense Llama-class models, the down projection for another 22.0%, and the projection aggregation as a whole for 81.8%. Attention accounts for 7.2%, K/V projections for 6.3%, and the SiLU + GateUp element-wise for 7.9%. These are not the numbers I would have predicted. I would have guessed attention and KV projection would be larger for long-context inference. The reason they are not is that the roofline for the projection kernels in FP8 lands further from the compute peak than the roofline for the attention kernel does, and the gap grows with sequence length. This is the level of detail a vendor dashboard will not give you, and it is the level of detail you need to make a decision about which kernel to optimize next.

What the paper does not say

Three things I would have wanted to see are missing, and the absence is worth flagging. The first is MoE-specific profiling. The paper covers dense and MoE models in the sweep (Qwen3-MoE appears in the model list), but the kernel-level breakdown table I quoted is for the dense class. MoE routing and expert dispatch have a different bottleneck profile and a different sensitivity to context length, and the paper’s headline numbers are dominated by the dense sweep. The second is serving under speculative decoding. The DSpark paper (arXiv:2607.05147) and the Eagle3 line of work are a major part of how 2026’s production serving stacks hit their throughput numbers, and AgentPerfBench does not include a draft-model profile. The third is end-to-end agent-task success rate. The benchmark measures serving performance — TTFT, TPOT, end-to-end latency, kernel utilization. It does not measure whether the agent finished the SWE-Bench instance. Those are correlated, but the correlation is loose, and a benchmark that measured both would tell a more useful story.

A small structural point. The paper is single-blind, the authors include people from Google DeepMind, and the model set is dominated by the families Google ships. The methodology is sound and the code is open, but the workload surface inherits whatever biases the source traces carry. I would want to see the same suite re-run against traces from a non-Google agent framework — Claude Code, Codex, Hermes — to confirm that the 4.8× TTFT gap generalizes before I trust it as a property of “agentic workloads” rather than a property of the specific traces they recorded.

The honest open question is whether the methodology catches on. The paper has been out for sixteen days, there is no HN discussion of it yet, and the canonical benchmarks that everyone reports have not been updated to add saturation-based sweeps. If you are choosing hardware for a coding-agent workload in the next quarter, the right move is to run AgentPerfBench yourself against the models you actually deploy, sweep concurrency to the knee, and report the latency at the knee rather than the latency at the concurrency level your vendor’s benchmark used. The 4.8× number will be different for your hardware, your model, and your agent framework. It will not be zero.

Aniket Karne
DevOps & AI Engineer · Amsterdam
Back to all posts
Reader correspondence

Comments

Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.