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

[performance] Lazy data formatting #2559

Open
markov00 opened this issue Oct 29, 2024 · 0 comments
Open

[performance] Lazy data formatting #2559

markov00 opened this issue Oct 29, 2024 · 0 comments
Labels
:performance Performance related issues :xy Bar/Line/Area chart related

Comments

@markov00
Copy link
Member

We apply data formatting on every data point before rendering, even if they are not shown on the screen.
This was a design decision to improve the subsequent rendering of the tooltip and any other dynamic value displayed when interacting on the chart.

This is fine for small charts, but it comes with a price when rendering heavy-load charts. It also depends heavily on the formatting function used.

The proposal is to remove this capability and apply formatting only at rendering time and when needed.
This could reduce the computation time and also the memory utilization

@markov00 markov00 added :performance Performance related issues :xy Bar/Line/Area chart related labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:performance Performance related issues :xy Bar/Line/Area chart related
Projects
None yet
Development

No branches or pull requests

1 participant