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: SceneDataTransformer always re-runs transformations on activate #717

Closed
torkelo opened this issue May 6, 2024 · 1 comment · Fixed by #725
Closed

Performance: SceneDataTransformer always re-runs transformations on activate #717

torkelo opened this issue May 6, 2024 · 1 comment · Fixed by #725
Labels
area/performance Improve performance of an existing feature released type/bug Something isn't working

Comments

@torkelo
Copy link
Member

torkelo commented May 6, 2024

Transformations can be very slow (Especially if they involve parsing dates). Currently SceneDataTransformer does the transformations always on activate which can make going into panel edit and back very slow / sluggish for panels with slow transformations.

This problem can be found here: https://ops.grafana-ops.net/d/b08c039f-9708-4ff6-b62b-48508459be405/reduced-env-to-reproduce-23-87219?orgId=1&scenes&var-unitcost_per_1k=1.32&var-unitcost=0.00132&from=2023-10-31T00:00:00.000Z&to=2024-02-06T12:00:00.000Z

@torkelo torkelo added type/bug Something isn't working area/performance Improve performance of an existing feature labels May 6, 2024
@grafanabot
Copy link
Contributor

🚀 Issue was released in v4.19.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Improve performance of an existing feature released type/bug Something isn't working
Projects
Status: 🚀 Done
Development

Successfully merging a pull request may close this issue.

2 participants