-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
[FR] Cut down performance hit of dynamically generating prefix-symbols each time #3763
Comments
Some possible minor improvements:
Implementing the last one cut plot time by 10%, allocation count by 2%, and allocation amount by 25%, though that's presumably a change that needs to go into Base. |
Should this be closed? The change in Julia base helps a lot, but there may still be a way to eliminate many of those allocations. |
Sorry, though it was fixed in https://github.com/JuliaLang/julia. |
Thanks for your help on this! |
11% of profiler samples in one of my plots are being spent in
Symbol(x, y)
, which constructs a new symbol from two different symbols. Each time this happens, 3 allocations are required.This code was run 429,042 times, and consuming 72 MiB, in generating my plot. It thus appears to account for 24% of allocations and 23% of allocation amount of generating my plot, between calls to
_update_axis
and_update_subplot_args
.Can this list of attribute combinations be generated once and then read from, rather than being constructed expensively on the fly?
The text was updated successfully, but these errors were encountered: