-
Notifications
You must be signed in to change notification settings - Fork 93
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
Cache recent points for get_next_point speedup #1850
Conversation
Initial testing looking like an improvement, moving to profiling stage (ref #1751) |
Can you explain what this is/was, for the record? |
It was: |
I agree with @arjclark's assessment. My test suite:
Warm start this at 2011-01-01T00, i.e. ~8760 cycle points from the start. master:
This branch:
v.s. cold-start at the same point (on master):
And, I still get a significant amount of >100% cpu load in the warm start case on this branch. The cold-start case shows almost no load, which implies other places we're repeatedly iterating from T0.
|
Just added more speedup for |
All good now; tests passing. |
This addresses part of #1053.
I did have a more elegant partial solution, which this pull request is too small to contain.
This one is OK.
@arjclark, please review and test.
@hjoliver, please review 2.