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

Include C cache preloading in profile output #522

Merged

Conversation

ricardoV94
Copy link
Member

This can be a big chunk of time in the first function that is compiled.

Also don't do it if there's no C compilation
@codecov-commenter
Copy link

Codecov Report

Merging #522 (cf8b57f) into main (7ecb9f8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #522   +/-   ##
=======================================
  Coverage   80.82%   80.82%           
=======================================
  Files         162      162           
  Lines       46194    46201    +7     
  Branches    11288    11289    +1     
=======================================
+ Hits        37337    37344    +7     
  Misses       6630     6630           
  Partials     2227     2227           
Files Coverage Δ
pytensor/compile/function/types.py 79.86% <100.00%> (+0.13%) ⬆️
pytensor/compile/profiling.py 76.19% <100.00%> (+0.06%) ⬆️

@ricardoV94 ricardoV94 marked this pull request as ready for review November 27, 2023 15:18
@ricardoV94 ricardoV94 merged commit e2d0751 into pymc-devs:main Nov 27, 2023
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants