directory
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Jul 18, 2026
License: MIT
Opens a new window with license information.
README
¶
Benchmark Suite
This directory contains production-style benchmarks for the ORM.
Run them with:
go test ./benchmark -run '^$' -bench=. -benchmem
Benchmark philosophy:
- measure the ORM, not the network
- keep setup deterministic
- reuse the same PostgreSQL-backed fixture for comparable runs
- separate SQL generation from SQL execution
- keep the numbers useful for regression detection rather than ORM-to-ORM comparisons
To compare future runs:
go test ./benchmark -run '^$' -bench=. -benchmem > before.txt
go test ./benchmark -run '^$' -bench=. -benchmem > after.txt
benchstat before.txt after.txt
Directories
¶
Click to show internal directories.
Click to hide internal directories.