Your query is slow. The index advice pile is taller.
You have another blog post open. Someone swears by a composite index. Someone else says partition the table. You could wing it on production and hope, or you could spend another afternoon wiring one-off tests that never match the next idea.
This project is a local benchmarking lab that runs numbered scenarios, times them before and after each optimization, and hands you reports you can actually compare.
Measure first. Commit second.
What you get
- Thirteen scripted comparisons across single-column, composite, covering, partial, unique, expression, and full-text style indexes, plus foreign-key, bulk-load, and bloat-oriented work, range and list partitioning, and materialized views.
- Before-and-after timing on the same synthetic workload so you see whether a tactic helped that scenario, not just whether the planner liked it on paper.
- A million-row class dataset of generated user-style records so tests are not running on toy tables that fool the planner.
- Readable output in the terminal while runs progress, plus HTML reports you can open afterward. An example report ships in the repository.
- A self-contained lab built around PostgreSQL 15 in a container, with setup, timed execution, and cleanup phases kept separate.
- Free and open source under the MIT licence.
Picture your Thursday
You are explaining index tradeoffs to a teammate (an illustrative case). Instead of waving at diagrams, you run one scenario, then the matching optimization, and walk through the report side by side. The numbers are from the same scripted path each time, so the conversation stays about the tactic, not about who ran which manual test last.
Ready to try it?
- Get the framework on GitHub for setup steps, the scenario list, and the sample HTML report in the media folder.








