What is LedgerMath
How LedgerMath came to be
LedgerMath is an inspired project of NapkinMath. NapkinMath is an OpenSource project that publishes important latency and throughput numbers that would serve any infrastructure engineer well to remember. It is built and maintained by Simon Eskildsen, CEO of turbopuffer and co-host of the P99 podcast. LedgerMath came to fruition after Simon brought up his desire for a project that "takes NapkinMath to the next level" on an episode with PlanetScale CEO Sam Lambert and Developer Educator Ben Dicken. LedgerMath aims to be that project.
How LedgerMath works
LedgerMath runs benchmarks every day and publishes the numbers for free. The logs for a benchmark produces a "Run". We then take those Runs and produce deterministic inferences through Methods. Both the output of Methods and the raw Run records themselves are available via API and can also be found in the storage GitHub repo.
LedgerMath takes provenance very seriously. It is designed to ensure that any number published can be traced back to the particular code, git commit, compiler version, compiler flag configuration, binary file, binary hash, compilation log, runtime log, and computing environment that produced it. If there was one thing LedgerMath was designed from the ground up to do well, it is to present transparent traceable benchmark behaviours so people (and agents) can see for themselves the particular environments that produced the numbers they are looking at.
Love for Software
I want to finish this in first person. If there's one thing I've learned building this, it is that - while AI agents definitely make it easier to build software - I still find myself spending time and exerting effort to ensure what is produced here is truly great. I have a lot of Love for software, both building it and interacting with it. I hope this comes through in your experience with LedgerMath.
I also would like to take this opportunity to mention 3 pieces of software that have helped me build LedgerMath, and that I've developed a deep appreciation for:
- SST: I was somewhat skeptical that SST would hold together in a somewhat unique project like LedgerMath, but it has somehow been an even greater pleasure to work with in this environment compared to the much simpler tasks I've used it for in the past.
- T3 Code: I can't believe a YouTuber built something that stole me from Neovim! Seriously though, Theo and his team have made something very special with T3C. I didn't think I'd like it as much. I also didn't think it would be as stable as it is - especially given that I'm on the nightly version.
- Gemini Neon: I saw a funny tweet today (4th Dec, 2026), and it perfectly encapsulated what it feels like to use Neon. Now granted, as of this writing, Neon was only involved in LedgerMath towards the tail-end of the project, but it's still such an absolute blast to work with that I simply couldn't leave it out! It's not even necessarily a huge jump in capability that captivated me, but the sheer joy of using it. This must be how all those ChatGPT 4o users felt.
Ofcourse there's so much more than just these three above that have helped build LedgerMath one way or another, but they have been so helpful and impactful to my work that I felt I had to mention them.
I hope you like LedgerMath. If you have any questions or want to chat, feel free to DM me on X: @smrdotgg. Enjoy!