You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
store the deferred passive-unmount queue on the after-paint flush function instead of in a mutable module-level binding
pin the affected private hook property mangles so production output remains deterministic
This preserves passive cleanup ordering and deferred error routing while reducing the aggregate overhead measured in the Preact 11 hook paths.
Performance
Paired production Chromium runs against the previous Preact 11 build:
Octane suite
Geomean
js-framework
8.0% faster
memo-wall
11.4% faster
effectful-list
1.9% slower
All exact Octane correctness gates passed. The result is mixed at the individual-operation level: js-frameworkrun and replace were 7.1% and 10.5% slower, while update/select/reorder/removal paths drove the aggregate improvement. The effectful-list result was mostly neutral, with remove_100_scattered 8.3% slower.
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
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.
Summary
This preserves passive cleanup ordering and deferred error routing while reducing the aggregate overhead measured in the Preact 11 hook paths.
Performance
Paired production Chromium runs against the previous Preact 11 build:
js-frameworkmemo-walleffectful-listAll exact Octane correctness gates passed. The result is mixed at the individual-operation level:
js-frameworkrunandreplacewere 7.1% and 10.5% slower, while update/select/reorder/removal paths drove the aggregate improvement. The effectful-list result was mostly neutral, withremove_100_scattered8.3% slower.