Commit graph

1 commit

Author SHA1 Message Date
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