-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix: Move Sunburst logic from recursion to stack based #3206
fix: Move Sunburst logic from recursion to stack based #3206
Conversation
Bundle ReportChanges will increase total bundle size by 122 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Bundle ReportChanges will increase total bundle size by 384 bytes ⬆️
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3206 +/- ##
==========================================
- Coverage 98.15% 98.14% -0.01%
==========================================
Files 932 932
Lines 14473 14480 +7
Branches 3952 3962 +10
==========================================
+ Hits 14206 14212 +6
- Misses 262 263 +1
Partials 5 5
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3206 +/- ##
==========================================
- Coverage 98.15% 98.14% -0.01%
==========================================
Files 932 932
Lines 14473 14480 +7
Branches 3952 3957 +5
==========================================
+ Hits 14206 14212 +6
- Misses 262 263 +1
Partials 5 5
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3206 +/- ##
==========================================
- Coverage 98.15% 98.14% -0.01%
==========================================
Files 932 932
Lines 14473 14480 +7
Branches 3952 3876 -76
==========================================
+ Hits 14206 14212 +6
- Misses 262 263 +1
Partials 5 5
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Description
This PR updates the
selectorMutate
used in theSunburst
component from recursion to a stack based implementation. This should reduce some overhead for repos with large file counts. I did some rough napkin math and perf tracing on staging with Gazebo's repo and the total call time forselectorMutate
went from2.92ms
to0.92ms
. We don't have a comparable repo to look at that has hundreds of thousands of files, but I think this is a good experiment before lowering the file count.Notable Changes
selectorMutate
function to a stack based implementation