some performance improvements - #586
superwhiskers wants to merge 1 commit into
Conversation
111df0f to
fe4d44c
Compare
|
Fails to build with following error message: |
|
Same error with a clean build from scratch. |
fe4d44c to
ca40c09
Compare
pelesh
left a comment
There was a problem hiding this comment.
Looks good. Some nitpicking comments to consider.
|
10k system validation time is reduced from 26.9s to 20.4s on my machine. |
|
Unit tests for the vector class all pass. |
There was a problem hiding this comment.
Thanks for looking into this!
10K solution time dropped from ~60s to ~45 on Frontier (single thread CPU). Performance on my MacOS did not change significantly (~30s). I suspect different default inlining behaviors. This is overall a net benefit.
@superwhiskers I recommend updating the PR description to reflect the final speedups you saw on your end.
| Log::misc() << "Evaluate Jacobian for Tgov1..." << std::endl; | ||
| Log::misc() << "Jacobian evaluation is experimental!" << std::endl; |
There was a problem hiding this comment.
If we are removing these, there should be one more in TgovEnzymeDependencyTracking.cpp for "Jacobian evaluation is experimental!".
Could you comment on motivation for removing all of them? We don't really need them anymore, but the \n versions should not significantly impact performance. Also see #512 (out of scope for this PR).
There was a problem hiding this comment.
it's something i thought i'd try and while it didn't influence anything, i thought i'd leave it in because it seemed unnecessary
lukelowry
left a comment
There was a problem hiding this comment.
Faster=happier
Thank you good work
a277768 to
1d63e1c
Compare
8f68d89 to
1d63e1c
Compare
this pull request provides some performance improvements that target larger cases, like activsg10k.
as a quick, unscientific check,
application/PhasorDynamics/DynamicSimulationonACTIVSg10kcompletes in 24.3332 seconds using these changesapplication/PhasorDynamics/DynamicSimulationonACTIVSg10kcompletes in 51.6972 seconds as of9330ee88both builds were a standard release (
RelWithDebInfo) buildChecklist
-Wall -Wpedantic -Wconversion -Wextra.