Skip to content

Add spec perf/19.25 on two changes of the parse - #347

Merged
tamnd merged 1 commit into
mainfrom
docs/perf-19-25
Dec 1, 2026
Merged

tamnd merged 1 commit into
mainfrom
docs/perf-19-25

Conversation

@tamnd

@tamnd tamnd commented Dec 1, 2026

Copy link
Copy Markdown
Owner

This PR adds spec perf/19.25 for M13 (#344). It has the measures of two changes of the parse on the branch perf/parse-ie:

  • Store::load_app puts an App node of the parse into the frozen tier with one probe, when the next node cannot make the frozen table grow.
  • The parser reads the index of a new expression with one compare of a masked word against the digits of the next index.

The callgrind counts without the portable SHA-256 are 43.93 G to 43.52 G on init (-0.92%) and 75.94 G to 75.36 G on std (-0.77%). The parse goes down by about 6%. --confirm all gives 0 disagreements on init and std, and the 225 Arena tests give the expected verdict. The gain is less than 1%, so the branch is not merged.

The notes copy of the spec is synced.

A load path for the App nodes of the parse and a compare of the next expression index make the parse 6% smaller on init and std. The total goes down by 0.92% on init and 0.77% on std, so the branch perf/parse-ie is measured and not merged.
@tamnd tamnd added this to the M13 Perf: cost per step milestone Dec 1, 2026
@tamnd tamnd added area/docs The spec and the other documents type/docs Documents only labels Dec 1, 2026
@tamnd
tamnd enabled auto-merge (squash) December 1, 2026 14:42
@tamnd tamnd mentioned this pull request Dec 1, 2026
4 of 13 tasks
@tamnd
tamnd merged commit 2cc9f7b into main Dec 1, 2026
28 of 29 checks passed
@tamnd
tamnd deleted the docs/perf-19-25 branch December 1, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs The spec and the other documents type/docs Documents only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant