Repository navigation
Harness checks: real Loop work, teardowns, duplicate and per-job checks; full rerun - #6
Merged
Merged
Conversation
- pool: the Loop tasks keep their sum, so the compiler can no longer delete the arithmetic and leave an empty counted loop. Ants' teardown waits for its workers to exit (ReleaseTimeout), like every other subject that has a teardown; Gopool still has none. - redis: a Durable row fails on any duplicate delivery, counted after every consumer has stopped; the latency run fails on a delivery of any job other than the one just enqueued. - sqlite: every job gets an id unique across queues and a shared tally fails a row on a duplicate, an unknown id or a job never seen, checked again after close. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WaitAndStop returns once no job is queued or running and only signals the workers to stop. WaitUntilStopped waits for the event loop to stop every worker, which matches the subjects whose teardown joins theirs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pool 1,485 rows (24, 8 and 4 CPUs), redis 150, sqlite 32, all -benchtime=2x on varmq v1.10.0 (local checkout through replace). No row failed: no duplicate deliveries in redis, every sqlite job handled exactly once. The pool Loop rows now include real arithmetic, and Ants and VarMQ teardowns wait for their workers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Numbers regenerated from the 2026-10-25 rerun. The gap notes are gone where the harness now closes them: Loop tasks do real arithmetic, Ants waits for its workers, redis rows fail on duplicates and stray latency deliveries, sqlite tracks every job id. Two teardowns still return before their workers exit and say so: Gopool has none, and varmq's WaitUntilStopped returns once every worker has been sent a stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes the harness gaps the README audit found, reruns every suite, and updates the READMEs from the new data.
Loop10andLoop10Ktasks keep their sum, so the compiler runs the arithmetic instead of deleting it.Loop10Kis now about 3 µs of real work per task, up from about 1 µs of empty loop.ReleaseTimeout(time.Minute), which waits for its workers to exit.WaitUntilStoppedafterWaitAndStop. That returns once every worker has been sent a stop. varmq has no API that waits for its worker goroutines to exit, so the README says VarMQ and Gopool (no teardown at all) still skip that wait.-benchtime=2x. No row failed, so no library delivered a job twice and every sqlite job ran exactly once.Verified
go vetclean in all three modules, andTestSubjectspasses in sqlite and redis.task site:jsonbuilds 495 ×3, 135 and 32 rows.🤖 Generated with Claude Code