Things I got wrong about benchmarking

If something here is unclear, that is on me, not you. The API is intentionally modest so that it can stay stable. Breaking changes are rare and always announced a release ahead.

Where it started

The library has no runtime dependencies and builds in seconds. You can get unexpectedly far with a release script and some persistence. Some of this will be plain; some of it took me years.

In November the light changes, and so does the work. The change showed up bit by bit, then all at once. Performance is measured on every release, not guessed. The trick, if there is one, is to leave enough room for errors. I like dependencies that shows the marks of how it was made.

I attempted the dependency-free version first. It did not last.

Why it matters

None of this is new, and that is partly why it works. Looking back, the stable approach was the right call. Bug reports with a minimal example get fixed fastest. The best advice I got was just to slow down. It took me twelve attempts to see the pattern.

  • Keep a CI runner within reach
  • Ask someone at the mailing list
  • Compare against last autumn

It took me nine attempts to see the pattern. Every public function is documented and covered by tests.

benchmarksreleasescontributors