Fix import performance regression and update time limits#3052
Merged
dweindl merged 1 commit intoAMICI-dev:mainfrom Nov 18, 2025
Merged
Fix import performance regression and update time limits#3052dweindl merged 1 commit intoAMICI-dev:mainfrom
dweindl merged 1 commit intoAMICI-dev:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3052 +/- ##
==========================================
- Coverage 78.14% 77.45% -0.69%
==========================================
Files 311 311
Lines 20593 20603 +10
Branches 1499 1500 +1
==========================================
- Hits 16092 15958 -134
- Misses 4491 4635 +144
Partials 10 10
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
93a1abe to
b3e4794
Compare
Member
Author
|
Back at 10mins for import: https://github.com/dweindl/AMICI/actions/runs/19444915558/job/55637062326 |
4ef704b to
8bb24bc
Compare
Unfortunately, AMICI-dev#3030 doubled the import time for our performance test model, but the check there was too lax to catch it. Sometimes, `smart_subs_dict` is applied to individual expressions, sometimes to complete matrices. If it's only applied to individual expressions or small matrices, avoid the overhead of flattening the substitutions first. Update the time limits for the performance tests to catch such regressions earlier. Fixes AMICI-dev#3048.
8bb24bc to
2b93ad8
Compare
FFroehlich
approved these changes
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unfortunately, #3030 doubled the import time for our performance test model, but the check there was too lax to catch it.
Sometimes,
smart_subs_dictis applied to individual expressions, sometimes to complete matrices. If it's only applied to individual expressions or small matrices, avoid the overhead of flattening the substitutions first.Update the time limits for the performance tests to catch such regressions earlier.
Fixes #3048.