Skip to content

v0.3.0: shared codes of go-fast-core v0.1.2; GC settings measured - #77

Merged
AOShei merged 2 commits into
mainfrom
release-v0.3.0
Nov 23, 2026
Merged

AOShei merged 2 commits into
mainfrom
release-v0.3.0

Conversation

@AOShei

@AOShei AOShei commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Release v0.3.0: the shared warning codes of go-fast-core v0.1.2 (#76), plus measured figures for the garbage collector's settings.

What is in it

  • The release (v0.3.0: release figures, CHANGELOG and status): the CHANGELOG section is dated v0.3.0 (2026-11-23) and gains "Checked before the release"; the README status line; bench/v0.3.0.txt; bench/BASE moves to b55d1b8.
  • GC settings (bench: what the settings of the garbage collector cost and give): go run ./bench/compare -gc measures GOGC=100, 200 and 400, each setting in five processes of its own, run in turn. It writes bench/gc.md, and with -readme a table in the README. The library still leaves the collector's settings alone. On this machine:
Setting One worker: time memory 24 workers: time memory 24 documents at once: time memory
GOGC=100 (default) 51.5 ms 29 MB 16.9 ms 92 MB 145 ms 597 MB
GOGC=200 48.6 ms (-6%) 43 MB (+47%) 13.1 ms (-22%) 140 MB (+53%) 121 ms (-17%) 1,217 MB (+104%)
GOGC=400 45.4 ms (-12%) 55 MB (+89%) 12.8 ms (-24%) 234 MB (+155%) 115 ms (-21%) 2,109 MB (+253%)

Checked before the release

  • Soak: the 3,186 files of the corpora, each in a process of its own, three times. No crash, hang or memory failure; at most 2.4 s and 657 MiB for a file.
  • Benchmarks: within 1% of v0.2.2 on 20 benchmarks, median 0.0% (instructions per operation).
  • Fuzz campaign 45161080424: 27 targets for one hour each on four-processor machines, 108 processor hours, 4.0 billion inputs, nothing found.
  • No library code changes after the soak and the fuzz run: the GC commit touches only bench/ and the README.

After merging

git checkout main && git pull
git tag -a v0.3.0 -m "go-fast-pdf v0.3.0 (go-fast-core v0.1.2)"
git push origin v0.3.0
gh release create v0.3.0 --title "v0.3.0" --notes-file <(awk '/^## v0.3.0/{f=1;next} /^## v0.2.2/{f=0} f' CHANGELOG.md)

🤖 Generated with Claude Code

AOShei and others added 2 commits November 23, 2026 13:57
go run ./bench/compare -gc measures GOGC=100, 200 and 400 (or the
settings -gc-settings names), each in processes of its own that take
turns: one document at a time with one worker and with all processors,
and the tuning set of the public corpus read many documents at once.
It writes bench/gc.md, with the processor time and the collections,
and with -readme the table of the README. The library still leaves the
collector's settings alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AOShei
AOShei merged commit 34b0ae0 into main Nov 23, 2026
12 checks passed
@AOShei
AOShei deleted the release-v0.3.0 branch November 23, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant