English

How to benchmark: the Measure-Explain-Test-Improve loop

Programming Languages 2026-05-05 v1

Abstract

I would like to share recommendations on how to do performance benchmarks for the purpose of computer science research evaluation. Research in my field (programming language research) often involves performance considerations, but it is typically not the main tool used to evaluate our research (typically we evaluate via formal statements and their proofs, experience writing large or interesting examples, or systematic comparison of expressivity, feature set, etc.). My impression is that, as a result, we tend to not do our performance evaluation very well. In the present document I will try to explain a methodology to do benchmarking correctly (I hope!). People with no former benchmarking experience should be able to build solid performance evaluation as part of their research. I explain the justification for each aspect along the way.

Keywords

Cite

@article{arxiv.2605.02233,
  title  = {How to benchmark: the Measure-Explain-Test-Improve loop},
  author = {Gabriel Scherer},
  journal= {arXiv preprint arXiv:2605.02233},
  year   = {2026}
}

Comments

sources available at https://codeberg.org/gasche-papers/how-to-benchmark

R2 v1 2026-07-01T12:47:59.282Z