SQLite key-value store wrapper
Find a file
Snider 4399f8b6d2 bench: add supplemental benchmarks for GetAll scaling, parallel, TTL, Render
Add bench_test.go with benchmarks not covered by store_test.go:
- BenchmarkGetAll_VaryingSize: 4 sub-benchmarks (10/100/1K/10K keys)
  to measure allocation scaling
- BenchmarkSetGet_Parallel: b.RunParallel for throughput under contention
- BenchmarkCount_10K: COUNT(*) on large groups
- BenchmarkDelete: delete throughput
- BenchmarkSetWithTTL: TTL write overhead vs plain Set
- BenchmarkRender: template rendering with 50 keys
All benchmarks use b.ReportAllocs().

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 04:53:52 +00:00
bench_test.go bench: add supplemental benchmarks for GetAll scaling, parallel, TTL, Render 2026-02-20 04:53:52 +00:00
CLAUDE.md feat(store): add TTL support and harden test coverage to 90.9% 2026-02-20 01:14:08 +00:00
coverage_test.go test: push coverage from 90.9% to 97.0% 2026-02-20 02:41:54 +00:00
FINDINGS.md feat(store): add TTL support and harden test coverage to 90.9% 2026-02-20 01:14:08 +00:00
go.mod fix: add modernc.org/sqlite dependency 2026-02-19 16:10:16 +00:00
go.sum fix: add modernc.org/sqlite dependency 2026-02-19 16:10:16 +00:00
store.go feat(store): add TTL support and harden test coverage to 90.9% 2026-02-20 01:14:08 +00:00
store_test.go feat(store): add TTL support and harden test coverage to 90.9% 2026-02-20 01:14:08 +00:00
TODO.md feat(store): add TTL support and harden test coverage to 90.9% 2026-02-20 01:14:08 +00:00