Repository navigation
The apply against egg: the committed counts - #155
Merged
Merged
Conversation
added 2 commits
November 22, 2026 16:29
benchmarks/apply-counts.md: the run's apply tables for prop, math and lambda, the bytes per add, the reading, and how it is measured; the README names it. Generated-by: Claude Code (Claude Fable 5.1)
…e reading corrected (#154) Generated-by: Claude Code (Claude Fable 5.1)
MaxGekk
pushed a commit
that referenced
this pull request
Nov 22, 2026
…ks the host too Generated-by: Claude Code (Claude Fable 5.1)
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 changes were proposed in this pull request?
Closes #154. Documentation only:
benchmarks/apply-counts.md, the committed table of the apply count, and its row in the benchmarks README.The table pairs, per language over the
SAMEbucket of 1,000 fuzz terms, what jegg's apply does with what egg's does: the applications handed to the appliers, the right-hand sides' adds and those that made a class, every add with its hits and news, the unions, both sides' identities, the per-term ratio of adds, and the allocation under the apply by class and by frame. The counters live on the probe branchrebuild-probe(egg's indev/fuzz/probe.patch, jegg's inEGraph.Probe), as the rebuild's do.Why are the changes needed?
The compare job times jegg's apply at 1.4 to 2x egg's. The count says the right-hand sides do the same work to the count: the same applications, the same adds (prop 18,729,210 against 18,731,427). The one difference in work is that jegg's adds make a class more often: 1.29x egg's on prop, 1.13x on math, 1.03x on lambda, with the unions and the rebuild's congruences following. That is #137, now located in the apply's adds, with two candidate causes named for its next count. On lambda, where the work agrees within 4%, the gap is the cost per operation; the file says what an add allocates (126 bytes on prop, 104 on math).
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Documentation. The numbers are the run's own summary, run 45038970795, artifact
probe-22, on an EPYC 7763; a smoke run and a first full run agreed on every count they shared. The predictions and their scores are on #154: prediction 1 held, 2 held on math and lambda, 3 failed on all three, 4 failed on prop and math. By the issue's exit clause the count says where the extra work is, and the next issue is #137.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5.1)