-
Notifications
You must be signed in to change notification settings - Fork 84
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
Puncture the bloat balloon #807
Puncture the bloat balloon #807
Conversation
The widget gallery is removed with no replacement. Live network table value previews are removed. Data must now be viewed only in a widget. This removes unnecessary subscriptions to unused fields (saving network bandwidth) and removes a high-frequency updating pane that is often hidden, which resulted in unnecessarily high CPU usage
NT sources do not provide their current values
How coupled are these changes? I think it'd be better to split it into different PRs. |
The live NT preview and widget gallery changes are both resulting from profiling the JavaFX scene graph. The NT subscribe-to-all change naturally falls out of that, since there's no need to have subscriptions that are never used |
Widgets were getting destroyed sources added, but weren't replacing the backing NT source. These widgets would be permanently disabled and would need to be deleted and recreated, or a dashboard application restart, to be usable again Topics written to by the dashboard would not receive "unpublish" events from the server, so they'd always be active and available. The `allUris` observable list was incorrectly adding/removing entries so URIs for those topics could still be removed from the list (disabling connected widgets with a destroyed source) if those URIs happened to be at the same index in the `allUris` list as a removed item in the plugin's URI list Topics written to by the dashboard would not receive a "publish" event from the server on reconnect, so no data sources would be created for them. We now manually trigger the data source creation logic for every topic that still exists in the NT client upon a server reconnect to ensure those sources are recreated
Live NT preview is pretty popular. Should Shuffleboard get a pinned message at the top of the tree view pane saying to use AdvantageScope for this? |
Overview
Removes various sources of high CPU usage:
And some bug fixes: