This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 432
Revamp of pipeline for generating plots #6584
Merged
Merged
Conversation
This file contains 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
cfoust
changed the title
[WIP] Move plot panel data pipeline to worker
[WIP] Revamp of pipeline for generating plots
Aug 11, 2023
**User-Facing Changes** None. **Description** Integrate message field slicing into the dataset PR.
cfoust
force-pushed
the
caleb/31-07-23/feat/plot-data-optimize
branch
from
September 1, 2023 16:39
bafd756
to
075fe6e
Compare
jtbandes
added a commit
that referenced
this pull request
Sep 7, 2023
**User-Facing Changes** None **Description** Since #6584 added Ramda with `R.*` imports, to improve consistency and avoid confusion we can use `_.` for all lodash imports. This adds a new lint rule within the repo to enforce this import style (which supports auto-fixing). Since using `import * as _ from "lodash"` increased the bundle size, I've also changed us over to `lodash-es` which results in a net _decrease_ in bundle size. Relates to FG-4805 - [Before (8af796f)](https://github.com/foxglove/studio/actions/runs/6097415144/job/16545007074): `Total production build size: 131998171 bytes` - [After](https://github.com/foxglove/studio/actions/runs/6101498121/job/16557952926?pr=6756): `Total production build size: 130341402 bytes ` - Difference: 130341402 - 131998171 = -1,656,769bytes
foxymiles
added a commit
that referenced
this pull request
Sep 13, 2023
**User-Facing Changes** Brighten plot points in dark mode. **Description** Fix the logic to brighten plot points when the dark theme is in use. This was inadvertently lost in the performance work in #6584.
pezy
pushed a commit
to pezy/studio
that referenced
this pull request
Oct 25, 2023
**User-Facing Changes** Brighten plot points in dark mode. **Description** Fix the logic to brighten plot points when the dark theme is in use. This was inadvertently lost in the performance work in foxglove#6584.
pezy
pushed a commit
to pezy/studio
that referenced
this pull request
Oct 25, 2023
**User-Facing Changes** Fix where the state transition panel showed incorrect bounds after loading data. **Description** The code that decided when to update a chart's bounds was incorrect, which led to some issues. Regressed in foxglove#6584 Fixes foxglove#6843
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
User-Facing Changes
Move all aspects of generating data for plot panels to a Web Worker and reduce plot generation memory usage.
Description
This diff is really scary, but it's divided up into two main sections:
Float32Array
-backed datasets to our charting components (namely:Chart
andTimeBasedChart
). This greatly reduces the memory overhead of plots with lots of data points.