Skip to content

Conversation

hacknus
Copy link
Owner

@hacknus hacknus commented Mar 24, 2025

reduces CPU load by removing a lot of .clone() calls and switching from mpsc to crossbeam-channels

@hacknus hacknus merged commit 5e1b1d1 into main Mar 25, 2025
2 checks passed
@hacknus hacknus deleted the performance_increase branch July 12, 2025 09:14
Rahix added a commit to Rahix/serial-monitor-rust that referenced this pull request Aug 25, 2025
When receiving only a single column of data, no graph would ever show
up.

This was due to the graph display data structure only being
initialized when the number of datasets changes.  However, the dataset
attribute is populated with one entry by default, so when receiving a
single column of data, the graph initialization never happens.

Fix this by initializing the dataset structure to be empty by default.

This bug was introduced in PR hacknus#119.

Fixes: hacknus#119
Rahix added a commit to Rahix/serial-monitor-rust that referenced this pull request Aug 25, 2025
It was no longer possible to update the labels and colors of the
detected columns because they were always overwritten by the default
values.

Fix this by only settings label and color once after column changes,
like it was done before.

This bug was introduced in hacknus#119.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant