Releases: go-coldbrew/data-builder
Releases · go-coldbrew/data-builder
v0.2.0
What's Changed
Two process-global sync.Map caches turn runtime.FuncForPC(pc).Name()
and reflect.Type → "pkgpath.TypeName" resolutions into amortized O(1)
map reads with zero allocations on hit. Keys are stable for the life of
the process, so the caches never evict.
Performance (benchstat, count=6)
Result.Get: ~4× faster single-threaded, ~11× faster under parallel load (0 alloc)AddBuilders(warm): −42% time, −59% allocationsCachedStructNamehit: −87%, zero allocationsResolveFuncNamehit: −63%, zero allocationsCompile/RunParallel: no significant latency delta, ~5% fewer allocs
Also
- New package doc (
doc.go) covering builder shape, typical flow, parallelism, performance, visualization. - New benchmark suite (
benchmarks_test.go) — the package previously had none. godirective bumped to1.25.9for patched stdlib that clearsgovulncheckfindings.
Full Changelog: v0.1.3...v0.2.0
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.11
v0.0.10
What's Changed
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #10
- updating documentation by @ankurs in #15
- Bump golang.org/x/crypto from 0.0.0-20210915214749-c084706c2272 to 0.1.0 by @dependabot in #12
New Contributors
- @dependabot made their first contribution in #10
Full Changelog: v0.0.9...v0.0.10
v0.0.9
What's Changed
- Fix handling of partial success by @peterjrichens in #9
Full Changelog: v0.0.8...v0.0.9