Skip to content

Write the measure of the unnecessary work of engine V in spec perf/19.29 - #351

Merged
tamnd merged 1 commit into
mainfrom
docs/spec-19-29
Dec 2, 2026
Merged

tamnd merged 1 commit into
mainfrom
docs/spec-19-29

Conversation

@tamnd

@tamnd tamnd commented Dec 2, 2026

Copy link
Copy Markdown
Owner

This PR adds spec section perf/19.29. The section gives two measures from the branch exp/try-class, which is for the measure only.

  1. The binder compares that the compare with no eval misses. On Init, 65% of their work is the compare of a typed closure with a closure that is not typed, which is the check of the body of a lambda. The other classes use about 2.3% of the work on Init and 3.3% on Std.
  2. The work that is done again after a miss of a memo. On Init, the repeats use 0.59 M of the 36.20 M work steps (1.6%).

So the count of the work steps of engine V is near its least count, and the gap of the check is the cost of one step.

Part of #344.

The binder compares that the compare with no eval misses are mostly the check of lambda bodies, and the work that the memos do again is 1.6% of the work on Init. So the count of the work steps is near its least count, and the gap of the check is the cost of one step.
@tamnd tamnd added this to the M13 Perf: cost per step milestone Dec 2, 2026
@tamnd tamnd added area/docs The spec and the other documents type/docs Documents only labels Dec 2, 2026
@tamnd
tamnd enabled auto-merge (squash) December 2, 2026 00:55
@tamnd tamnd mentioned this pull request Dec 2, 2026
4 of 13 tasks
@tamnd
tamnd merged commit ce96bf5 into main Dec 2, 2026
28 of 29 checks passed
@tamnd
tamnd deleted the docs/spec-19-29 branch December 2, 2026 00:58
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