Research and evidence

How to Document a Computational Benchmark

Use this structure to report a tested workload without losing its baseline, correctness record, environment, methods, or limitations. No LuMATH benchmark result is reported here.

What a benchmark record contains

A benchmark record brings together the workload, baseline, independent correctness check, test environment, raw observations, and limitations. This guide explains how those parts make a comparison interpretable.

A benchmark must answer one bounded question

State the operation, accepted input shapes, size limits, output contract, and the decision the test could inform. Explain why the selected workload represents that question; do not choose a narrow input after seeing favorable results.

Keep the comparison fair

Use the same data and output contract for the candidate and baseline. Choose an appropriate, optimized conventional method before observing candidate measurements. Include relevant conversion and setup cost; report initialization, preprocessing, kernel execution, and end-to-end time separately when those answer different questions.

Verify correctness independently

Run an independent oracle before and after the timed run. Define exact equality or numerical tolerances in advance. Include boundary values, malformed input, adversarial cases, and seeded generated examples. A mismatch blocks the performance comparison.

Record the test environment

Identify source and build revisions, dependencies, operating system, runtime, browser or Python version, processor class, memory, thread count, accelerator settings, timing source, warm-up, repetition count, and run date. Record dataset rights and hash. Do not report a memory estimate as a measured peak unless the metric and instrumentation are comparable.

Distinguish result types

  • Measured result: a completed, reproducible test with source authorization, baseline, correctness, environment, method, raw observations, and limitations.
  • Projection: a scenario estimate based on explicit assumptions. It is not a measurement or proof that an implementation achieves the estimate.
  • Research goal: a question or intended outcome for future work. It is not a capability or result.

Publish positive and negative results with the same care. Never turn a correctness failure, inconclusive run, or unsupported input into a performance claim.