perf: timeline optimisation + tidy up#719
Merged
lcottercertinia merged 17 commits intocertinia:mainfrom Feb 10, 2026
Merged
Conversation
…ng utilities - Add MarkerHitTest utility for efficient hit testing of timeline markers. - Refactor MeshMarkerRenderer and TimelineMarkerRenderer to utilize hitTestMarkers for hover detection. - Introduce ColorUtils for parsing CSS color strings to PixiJS numeric hex format. - Create LabelPositioning utilities for consistent tooltip styling in AreaZoomRenderer and MeasureRangeRenderer. - Update AreaZoomRenderer and MeasureRangeRenderer to use createTimelineLabel for label creation and calculateLabelPosition for positioning. - Extend flamechart.types with InteractionModeType and DragModeState for unified drag interaction handling.
…with granular dirty flags
…name in MinimapOrchestrator
…improving zoom icon handling
lcottercertinia
previously approved these changes
Feb 7, 2026
…ree and add comprehensive tests
…oralSegmentTree logic
…nderer and SearchCursor implementations
…or performance optimization - Added a unified conversion function that combines tree conversion and rectangle pre-computation in a single O(n) pass, significantly reducing redundant traversals. - Introduced precomputed data structures to optimize rendering and calculations in FlameChart, RectangleManager, and TemporalSegmentTree. - Enhanced TimelineEventIndex to utilize precomputed metrics, improving initialization speed. - Updated RectangleManager to accept precomputed rectangles, avoiding unnecessary calculations. - Optimized MinimapDensityQuery to use binary search for frame retrieval, reducing overhead during bucket processing. - Deferred initialization of search renderers in SearchOrchestrator to improve initial load times. - Improved performance across various components, achieving up to 300ms savings on large event logs.
…ication in TemporalSegmentTree
lcottercertinia
previously approved these changes
Feb 9, 2026
lcottercertinia
previously approved these changes
Feb 9, 2026
lcottercertinia
approved these changes
Feb 10, 2026
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.
📝 PR Overview
General tidy of the new timeline
performance optimisations
🧩 Type of change (check all applicable)
📷 Screenshots / gifs / video [optional]
Show off your UI changes.
🔗 Related Issues
fixes #
resolves #
closes #
related #564
related #446
✅ Tests added?
📚 Docs updated?
Anything else we need to know? [optional]