Skip to content

v0.1.0 — reproducible SQLite query experiments

Pre-release
Pre-release

Choose a tag to compare

@gedouluhui gedouluhui released this 17 Nov 21:13

PlanBench SQLite 0.1.0

A small, offline tool for a specific question: after changing a query or adding an index, did the returned data stay the same, and what execution plan did SQLite choose?

  • Two disposable clones of one consistent SQLite backup snapshot.
  • Exact typed sequence or multiset comparison; duplicate rows matter.
  • Separate equivalent, different and inconclusive outcomes.
  • Strict SQL allowlist, independent resource budgets and input/output protection.
  • Script-free standalone HTML and JSON reports; deterministic self-generated examples.

Install

Requires Python 3.11+ with SQLite. Download the wheel below and run:

python -m pip install planbench_sqlite-0.1.0-py3-none-any.whl
planbench-sqlite demo --out demo-output

The source archive includes English/Chinese usage, the evidence contract, contribution guidance and real example reports. SHA256SUMS accompanies both distributions.

Scope

Early alpha for trusted local ordinary SQLite databases. This is not a production speedup benchmark, SQL-equivalence proof or malicious-file sandbox. Progress callbacks are not exact VM instruction counts; time limits are cooperative. Reports exclude row/parameter values but include SQL literals and identifiers. Review the evidence contract before sharing reports or using your own database.

Validation includes real SQLite/CLI tests, clean offline wheel installation, independent review, bounded-result counterexamples and browser inspection of generated reports. CI results are linked on the repository; untested environments are not inferred from a local pass.