Skip to content
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

Faster generation of drootdt_total for models without state-dependent root functions #2417

Merged
merged 2 commits into from
May 2, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Apr 30, 2024

Don't compute things we don't need.

For my test model, this reduces code generation time from 76s to 12s (-83%).

… root functions

Don't compute things we don't need.

For my test model, this reduces code generation time from 76s to 12s (-83%).
@dweindl dweindl requested a review from a team as a code owner April 30, 2024 19:39
Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.59%. Comparing base (304c23a) to head (1f64da1).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2417      +/-   ##
===========================================
- Coverage    77.66%   77.59%   -0.08%     
===========================================
  Files          324      324              
  Lines        20913    20913              
  Branches      1464     1464              
===========================================
- Hits         16243    16227      -16     
- Misses        4667     4683      +16     
  Partials         3        3              
Flag Coverage Δ
cpp 73.37% <100.00%> (-0.08%) ⬇️
cpp_python 34.12% <100.00%> (ø)
petab 36.70% <0.00%> (ø)
python 72.13% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/sdist/amici/de_model.py 92.63% <100.00%> (ø)

... and 4 files with indirect coverage changes

@dweindl dweindl enabled auto-merge May 2, 2024 08:20
@dweindl dweindl self-assigned this May 2, 2024
@dweindl dweindl added this pull request to the merge queue May 2, 2024
Merged via the queue into AMICI-dev:develop with commit 6b05ddd May 2, 2024
19 of 20 checks passed
@dweindl dweindl deleted the faster_drootdt_total branch May 2, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants