-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Improve performance when changing shown patch on the report tab #3660
Comments
I set this as high priority as the lag is experienced much more often with: #3658 |
We can split eventsContainer into globalEventsContainer and localEventsContainer so that only local events will be updated; and custom rich text label count can be reduced. |
That sounds like a pretty simple change with the potential to improve performance a lot. |
This uses plain search. Dictionary / Binary search will improve performance a lot. (First Pic, 0.42%) Plus, a great fraction of time in ClearChart should also be spent here. |
Skip animation (or even entire draw) if line is not drawn. |
Moving to a patch has always had a lag spike, mostly due to: #1085 |
With a bunch of data that causes quite big lag spikes. In our code the biggest things seem to be #3659 as well as:

and:

I think ultimately the biggest performance thing is how many Godot objects get destroyed and recreated each time. I think instead we'll need to either cache the timeline display objects and update them or make bigger rich text blocks to have fewer overall objects.
The text was updated successfully, but these errors were encountered: