← Back to section · Research & Analysis

How to Read PQC Benchmarks Without Being Misled

Cycles are not wall-clock time, and compiler flags can rewrite the rankings. This article unpacks SUPERCOP's methodology, catalogues the most common misreadings of PQC performance numbers, and ends with a checklist.

Published 22 November 2026 · 6 min read · PQ Frontier

How to Read PQC Benchmarks Without Being Misled
AI-generated illustration by PQ Frontier
Video explainer · Algorithm Performance: Benchmarks and Methods

One Number, Four Hidden Variables

“ML-KEM-768 key generation takes only 30 microseconds.” Numbers like this circulate everywhere in PQC discussions, and each hides at least four undeclared variables: which machine measured it, how the code was built, which operation was timed, and what it was compared against. Change any one of them and the conclusion can flip. The first rule of reading benchmarks: methodology first, numbers second.

Cycles versus Wall-Clock: Know What Is Being Measured

Cycles count the CPU cycles a piece of code actually consumes. They are comparatively stable — immune to OS scheduling and background processes — which is why the cryptographic engineering community prefers them, and why frameworks like SUPERCOP report cycles. Their weakness is cross-platform comparison: a cycle on a 3 GHz part is not worth the same time as a cycle on a 5 GHz part.

Wall-clock time (milliseconds or microseconds of elapsed time) is what users actually feel, but it is heavily polluted. Modern CPUs scale frequency dynamically — Turbo Boost, power-saving downclocking — so the same code on the same laptop can differ by double-digit percentages plugged in versus on battery. System noise, cache state, and first-run effects all leak in. Treating wall-clock numbers as evidence of algorithmic superiority is measuring with a rubber ruler. Rule of thumb: use cycles to compare algorithms, wall-clock to estimate user experience — and always state the frequency conditions for the latter.

Platform and Build Options: The Biggest Variable of All

The same C code can vary by a factor of 3–10 depending on -O2 versus -O3, whether AVX2/AVX-512 vectorized implementations are enabled, and whether the build uses the reference or an optimized implementation. PQC schemes are especially sensitive: ML-KEM’s NTT under AVX2 lives in a completely different speed class from the portable C version, and hash-heavy code feasts on SHA instruction extensions. A credible benchmark must therefore declare the CPU model, compiler and version, optimization level, and which implementation variant (ref / avx2 / aarch64 / …) was measured.

Platform differences matter just as much. Rankings on server x86 do not transfer to embedded ARM: the pqm4 project benchmarks post-quantum schemes specifically on the Cortex-M4, and its conclusions often diverge from desktop results — some schemes simply do not fit in a microcontroller’s memory at all. Trust only benchmarks from the platform you intend to deploy on.

What SUPERCOP’s Methodology Gets Right

The long-running SUPERCOP framework (and its eBACS evaluation effort) enforces disciplines worth copying into any benchmark: every candidate implementation is measured on the same machine under the same build environment; each operation is timed repeatedly and reported as a distribution, not a single run; key generation, encapsulation, and decapsulation (or signing and verification) are reported separately, never blended into one total; and results are published together with raw data and machine configuration so anyone can re-check them. SUPERCOP is not perfect — it does not account for memory by default — but “same machine, same build, fully public” is the baseline for believing any benchmark at all.

A Catalogue of Common Misreadings

  • Key generation only. Key generation is usually a one-off cost. In a TLS-like setting, the operations that recur per connection — encapsulation and decapsulation — and per release — signing and verification — dominate the long-term bill.
  • Ignoring sizes. Signature and ciphertext byte counts translate directly into bandwidth and storage cost. SLH-DSA’s speed is acceptable, but its signatures run roughly 8–50 KB; choosing on speed alone guarantees a surprise.
  • Ignoring memory. Stack and heap usage are hard constraints on embedded targets and high-concurrency servers, and desktop benchmarks rarely mention them.
  • Ignoring constant-time. A non-constant-time implementation can look “faster” thanks to early exits and cache-friendly table lookups — while opening timing side channels. When a benchmark is suspiciously fast, ask whether the implementation is constant-time first.
  • Comparing across security levels. ML-KEM-512 and ML-KEM-1024 are not the same security category; a speed comparison across categories means nothing.

One more statistical subtlety is routinely ignored: is the reported figure a minimum, a median, or a mean? Cycle counts for cryptographic operations are usually right-skewed — most runs are fast, with occasional runs dragged out by interrupts and cache misses. The minimum sits closest to the “pure algorithmic cost”, the median better represents everyday behaviour, and the mean is the most easily polluted by the long tail. None of the three is wrong, but a number that does not declare its statistic cannot be compared horizontally; when two benchmarks reach opposite conclusions, first check whether one reported minima and the other means.

The Other Number: Bandwidth and Handshake Amplification

Beyond speed, PQC benchmarks hide a second class of figure that is just as often ignored: how many bytes one protocol interaction has to move. ML-KEM-768’s encapsulation key and ciphertext are about 1.1 KB each, and ML-DSA signatures run to several KB; in a protocol like TLS, with record fragmentation and congestion-window constraints, byte counts translate directly into round trips and tail latency. A single-machine benchmark cannot see this effect — it belongs to system-level benchmarking, with the algorithm placed inside a real protocol stack under real network conditions. Indeed, the earliest production issues reported in post-quantum migration were not about slow arithmetic at all, but about middlebox compatibility triggered by fatter handshake messages.

A complete performance profile is therefore at least three-dimensional: computational cost (cycles), memory cost (peak stack and heap), and communication cost (total bytes of keys, ciphertexts, and signatures). A benchmark that reports only one dimension is not wrong — but making a selection decision from it is a misreading. This site’s performance articles give numbers in all three dimensions, and readers should require any benchmark source to at least declare which dimensions it measured.

Timeliness deserves a final note: post-quantum implementations have been optimising fast — vectorised NTTs, better samplers, batched hashing keep pushing cycle counts down — so a benchmark from two or three years ago likely overstates today’s costs systematically. Making today’s decision with yesterday’s numbers is driving with last year’s map. When citing a benchmark, its date and implementation version matter as much as the number itself.

A Checklist for Reading Any PQC Benchmark

For every performance number you meet, ask seven questions in order: (1) Is the unit cycles or wall-clock? (2) What CPU, and under what frequency conditions? (3) Which compiler, optimization level, and implementation variant? (4) Are the three operations reported separately? (5) Are key, ciphertext, and signature sizes — and memory usage — given alongside? (6) Is the implementation constant-time? (7) Are the compared schemes in the same security category on the same platform? Only numbers that survive all seven belong in a selection decision.

References

Tags: benchmarksSUPERCOPliboqsconstant-timepost-quantum cryptography