-
-
Notifications
You must be signed in to change notification settings - Fork 1k
perf!: Rebuild the FCS core: ComponentList children, allocation hygiene, and flattened update traversal #3960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spydon
wants to merge
26
commits into
main
Choose a base branch
from
perf/component-set-backing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8e2dcb2
perf!: Replace OrderedSet children container with flat sorted-array C…
spydon e38a2b4
docs: Update children container docs after OrderedSet removal
spydon de59d60
refactor!: Rename ComponentSet to ComponentList, replace childrenFact…
spydon b25dcf4
test: Add golden tests for lifecycle ordering, hit-test order, and eq…
spydon 0b71600
perf: Early-return from processLifecycleEvents when the queue is empty
spydon 764af8e
perf: Cache decorator render closures instead of allocating per frame
spydon 51e20e8
perf: Make render contexts and debug caches lazily allocated
spydon 8c5b31c
perf: Replace generator-based removal teardown with an explicit colle…
spydon d74ba81
perf: Track mounted pointer-event handlers so hit tests can early-out
spydon bcdc1b7
feat!: Make updateTree non-virtual behind a CustomTraversal seam
spydon d62a993
perf!: Drive the update pass from a root-owned flattened traversal list
spydon 0884307
feat: Add updatePaused for pausing the update pass of a subtree
spydon 8fabe08
docs: Document CustomTraversal, updatePaused, and the HasTimeScale re…
spydon 800beda
perf: Rebuild the flat update list through internal arrays and cache …
spydon 9fcefd1
perf: Fuse the flat-list rebuild into the update pass and remove hot-…
spydon 845b90d
perf: Insertion-sort the sweep broadphase, cache camera render closur…
spydon ab24401
refactor!: Move updateSubtree onto Component so traversal mixins carr…
spydon 8d53fb8
refactor: Use update and updatePaused in examples that do not need a …
spydon d652a6c
refactor!: Base Route.stopTime on updatePaused instead of zeroing tim…
spydon 7d2a4e7
style: Spell out abbreviated identifiers introduced by this branch
spydon 7e3569f
style: Finish the set-to-list rename in names and docs
spydon 17a0b84
refactor!: Turn CustomTraversal into a marker interface instead of an…
spydon 00bf07f
test: Pin that HasTimeScale scales the dt of the component it is mixe…
spydon fb203da
perf: Iterate query caches with indexed loops in clear and rebalance
spydon b083b5f
docs: Add the FCS core rewrite to the v2.0.0 migration guide
spydon e187790
Update doc/flame/migration.md
spydon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.