-
Notifications
You must be signed in to change notification settings - Fork 66
The plotting of 120 plots and clearing is taking too long #715
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
Comments
To update this with an off-list conversation: I ran a profiler while generating the 120th (slowest) frame. The results show that a bulk of the time is spent in the function
These weren't the most precise benchmarking methods and the calculations are rough, but this definitely seems to be the issue: Non-copy operations went from .65 -> .80 seconds, while this copy operation jumped from 0.083 --> 2.6 seconds. Now, why does the copy time balloon like this? Should these template attributes be growing with each frame? If it helps, here's the stack where the copy is happening:
|
@doutriaux1 please follow with @dlonie on this. This is a critical issue. |
@dlonie which profiler did you use and how did you run it. It would be useful to know. |
hum... it's not JUST vcs because the following also sees memory growing a bit:
|
Then this must be in CDMS. what if you use square brackets? data = cdmsfile['clt'] |
I think it's both... |
just tested it it seems to be ok now, closing:
|
When plotting, 120 pictures and clearing the canvas to plot another image takes longer and longer as time goes on. The memory is growing so it much be calling VTK pipeline commands and copying data instead of pointing to the data.
Could there be something in VTK that causes the plots to generate slowly?
The text was updated successfully, but these errors were encountered: