Closed DavidLegg closed 5 months ago
Thanks @DavidLegg for the massive performance improvement and @mattdailis for reviewing! Merging so that we can include this in the 2.14 release. FYI I have to "resolve" the conversations above in order to merge, but feel free to unresolve & continue the convo if there's more to be said.
Description
Several proposed performance optimizations for the Aerie streamline framework, all indicated by profiling done on the CADRE simplified data model. In particular:
Verification
All changes were tested by hand on the CADRE simplified data model.
That model, running a 1 day plan, went from taking a few minutes to taking ~15s, with all the changes in this PR. Also, it looks like ~5s of that time is spent in simulation, and the remaining ~10s are spent saving the results.
Documentation
N/A - pure refactor
Future work
N/A
Note: This PR makes #1483 and #1405 obsolete.