Skip to content
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

Several improvements regarding transfer size and speed #226

Merged
merged 2 commits into from
Jul 6, 2024

Conversation

mathieucarbou
Copy link
Contributor

Here is an optimisation for the charts I also did in my dev branch for the pro version.

I have an app with 3 charts of 120 points each, which means 120×2×3 = 720 points are transferred each 500ms. That's a lot. And the scale does not change because its a real-time graph:

image

So I've split the change detection between x and y axis to only send the data for the axis which really changed.

Saves half the data.

@mathieucarbou mathieucarbou changed the title Chart optimisations : data transferred divided by 2! Several improvements regarding transfer size and speed Jul 3, 2024
@ayushsharma82 ayushsharma82 merged commit d38bb48 into ayushsharma82:dev Jul 6, 2024
10 checks passed
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.

2 participants