← Back to section · Post-Quantum Cryptography
How to Read Post-Quantum Benchmarks: Don't Let One Speed Table Mislead You
The same ML-KEM can show speed numbers differing several-fold across sources. This article dissects the common benchmark traps — platform and instruction sets, implementation maturity, the asymmetry of the three operations, memory and constant-time behavior — and how to measure effectively for your own system.
The most common prop in a selection meeting is a benchmark table, and the most common accident is treating the table as the conclusion. Post-quantum performance numbers are extremely sensitive to measurement conditions: the same algorithm differing two- or three-fold across sources is normal. This article offers a method for reading benchmarks, and a checklist for measuring your own system.
Trap one: platform and instruction sets are not footnotes
The core lattice operations (NTTs, polynomial multiplication) run at entirely different speeds with AVX2, AVX-512, or ARM NEON optimization than in plain C reference code; hash-based operations draw on SHA hardware instructions. A benchmark that does not state the CPU model, whether vectorization was enabled, and the compiler and optimization level produces numbers that cannot be compared. The same holds on the embedded side: pqm4 data on a Cortex-M4 and liboqs data on a server answer two different questions, and mixing them in one table is misleading.
Trap two: implementation maturity masquerading as algorithm performance
Standardized algorithms have highly optimized, industry-grade implementations; candidate-stage algorithms often have only the submitters’ reference code. Much of the “slowness” measured from a reference implementation is lack of optimization, not the algorithm itself. When reading a benchmark, ask: which implementation, which version, and is it the constant-time build? A fast but non-constant-time implementation is unusable in real deployment, and its speed carries no reference value.
Trap three: aggregate scores hiding asymmetry
The distribution across the three operations is part of an algorithm’s character. McEliece key generation is slow and memory-hungry, but encapsulation and decapsulation are both fast; SLH-DSA signing is one to two orders of magnitude slower than its verification; ML-DSA is balanced across all three. A benchmark reporting only “operations per second” without decomposition discards exactly the information selection needs most. Read it correctly: first identify your system’s most frequent operations (gateways care about encapsulation and verification, signing services about signing, terminal devices about verification and key storage), then compare only those.
Three ledgers beyond speed
Peak memory decides whether an algorithm fits microcontrollers and secure elements: McEliece’s large public key and key-generation memory are hard gates, while lattice memory footprints are comparatively gentle. Second is the security discount: once constant-time discipline, side-channel masking, and similar protections are enabled, signature schemes (especially ML-DSA’s rejection sampling and Falcon’s sampling) slow appreciably — raw benchmark speed must be read at a discount. Third is energy: on battery devices every millijoule counts, and hash verification with few operations may actually beat lattice arithmetic on power — detached from scenario, a cycle ranking gives the wrong answer.
Trap four: measuring operations, not protocols
Cycle counts at the algorithm level are only half the story. At the protocol level, the indirect costs of size often exceed computation itself: an extra kilobyte of ciphertext in a handshake can trigger extra round trips or fragmentation, longer certificate chains change session-resumption and caching behavior, and on mobile networks bytes convert directly into latency. Two algorithm suites 10% apart in microbenchmarks can be an order of magnitude apart in tail latency inside a real protocol. When reading a benchmark, ask whether protocol-level data exists (full handshake latency, total bytes, retransmission rates); without it, microbenchmark conclusions can only support “the arithmetic is not slow,” never “deployment is painless.”
A credibility checklist for any benchmark
Before letting any post-quantum benchmark into a selection meeting, put it through five questions: Which implementation and version was measured? On what hardware, with which instruction-set optimizations enabled? Are the three operations reported separately? Was measurement done under constant-time, production-grade protections? Are peak memory and protocol-level overheads given? A benchmark answering all five earns its place; one missing two or more should be read as advertising. Conversely, when you publish internal benchmarks, writing all five items out is a basic duty to every later reader.
Benchmarks and sizes: don’t omit the static data
Beyond speed, a benchmark report should include the complete static size ledger: exact byte counts for public key, private key, ciphertext, and signature, plus the randomness consumption and temporary memory of key generation. These numbers do not vary with platform; they are the most reliable part of any comparison, and precisely the part most often drowned out by percentage speed claims. The healthy order for a selection review is: static ledger first (does it fit), then measurements on the target platform (does it run), and only then published cross-source benchmarks (as corroboration). Reversing that order is the common opening of most selection accidents.
Numbers expire: date your benchmarks
Benchmarks carry a shelf life. Every major implementation release, every round of compiler optimization, every hardware generation partially invalidates old numbers; and if attacks or parameters are revised, the security-margin ledger must be redone too. When citing a benchmark, cite its measurement date and implementation version alongside, and treat lattice speed numbers older than a year or two with a default question mark — that window is exactly when vectorization optimization advanced fastest. Likewise, archive today’s own measurements together with their environment, so future reviewers can judge which numbers still count and which must be re-measured. Dating your data is the cheapest, most-skipped step in benchmark culture.
Measure for your own system
Others’ benchmarks are for shortlisting only. Before a final choice, measure on the target hardware, with the target implementation, and with all production-grade protections enabled: decompose the three operations, measure peak memory, measure the protocol-level end-to-end increment (handshake bytes and latency), and record implementation versions for reproducibility. The purpose of a benchmark is to raise questions; the answers always live in your own system.
Tags: benchmarksimplementationengineering evaluationtesting methodology