Skip to content

Conversation

@mikeprosserni
Copy link
Collaborator

What does this Pull Request accomplish?

This fixes a performance issue with the simple_graph example. We weren't specifying a key for the st_echart, which caused it to be recreated for each script rerun, which is hugely inefficient. After making this fix, we can now update the graph at 10Hz instead of 1Hz.

Why should this Pull Request be merged?

We want our examples to use good practices.

What testing has been done?

Ran the simple_graph example and saw the graph updating smoothly.

@mikeprosserni mikeprosserni marked this pull request as ready for review June 25, 2025 20:02
@mikeprosserni mikeprosserni requested a review from csjall as a code owner June 25, 2025 20:02
@github-actions
Copy link
Contributor

Test Results

   10 files  ±0     10 suites  ±0   18s ⏱️ -1s
  189 tests ±0    189 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 840 runs  ±0  1 840 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 9217d42. ± Comparison against base commit 3cabf0c.

Copy link
Collaborator

@jfriedri-ni jfriedri-ni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mikeprosserni mikeprosserni merged commit 1727616 into main Jun 25, 2025
14 checks passed
@mikeprosserni mikeprosserni deleted the users/mprosser/fix-graph-example branch June 25, 2025 20:33
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.

3 participants