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

Test out precompilation #41

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Test out precompilation #41

merged 1 commit into from
Feb 26, 2024

Conversation

nefrathenrici
Copy link
Member

This PR documents how to force precompilation for a given test case.

In testing, I found that precompiling the model for a given float type did not result in a significant speedup. Instead, precompilation should happen more on a case-by-case basis. We could precompile for the given testcase that is being run, but this only results in a significant improvement in runtime if the compilation time is longer than the runtime, which is fairly rare for calibrations.

@nefrathenrici nefrathenrici linked an issue Jan 25, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.43%. Comparing base (a87aef9) to head (221d790).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   65.43%   65.43%           
=======================================
  Files           4        4           
  Lines          81       81           
=======================================
  Hits           53       53           
  Misses         28       28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nefrathenrici
Copy link
Member Author

Add this to docs with explanation instead of source code

@nefrathenrici nefrathenrici merged commit e5f13e7 into main Feb 26, 2024
7 checks passed
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.

Test PrecompileTools for quicker compilation
1 participant