Commit b88c3c9
docs(bench): publish compile-time benchmark results in bench/README
Runs the harness against sumak + kysely + drizzle on an Apple
M-series / Node 24 and records what came back. Two tables:
1. Ops per second — shows sumak is the fastest compiler on six
of seven scenarios (1.11×–2.48× vs kysely, 9.06×–38.74× vs
drizzle). The one exception is `delete-where`, where kysely's
dedicated delete path beats sumak by ~1.54× — flagged as a
known callback-WHERE overhead worth chasing.
2. Wall time per compile — same data inverted to ns/µs, to
make the "your compile is three orders of magnitude below
the network round-trip" point concrete. Even the slowest
sumak case is ~2µs; a local Postgres round-trip is ~1ms.
The results are stamped with machine + Node version and explicitly
flagged as drift-prone ("treat only the relative ordering as
signal"). No CI infrastructure is claimed; this is a human-run
snapshot that doubles as evidence for the "why no statement cache"
ADR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1e6c787 commit b88c3c9
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
28 | 62 | | |
29 | 63 | | |
30 | 64 | | |
| |||
0 commit comments