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

REFACTOR: Icepak Mesh class initialization performance #4877

Merged
merged 8 commits into from
Jul 10, 2024

Conversation

lorenzovecchietti
Copy link
Contributor

@lorenzovecchietti lorenzovecchietti commented Jul 3, 2024

Close #4876

Big thanks to @Leunamedaking for the help in testing the changes.

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.18%. Comparing base (a24bfdb) to head (9fa9026).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4877      +/-   ##
==========================================
+ Coverage   83.16%   83.18%   +0.02%     
==========================================
  Files         118      118              
  Lines       54143    54140       -3     
==========================================
+ Hits        45027    45036       +9     
+ Misses       9116     9104      -12     

nnetake
nnetake previously approved these changes Jul 4, 2024
Copy link
Contributor

@nnetake nnetake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@siva-krishnaswamy siva-krishnaswamy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good

@lorenzovecchietti
Copy link
Contributor Author

@SMoraisAnsys I excluded from test coverage the lines of code that are related to 23R2 and previous, but is seems that codecov is ignoring the pragma : no cover statement. Why?

Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lorenzovecchietti It might be related with the extra space used to declare the code a not covered. Can you try the proposed changes ?

pyaedt/modules/MeshIcepak.py Outdated Show resolved Hide resolved
pyaedt/modules/MeshIcepak.py Outdated Show resolved Hide resolved
lorenzovecchietti and others added 2 commits July 8, 2024 12:05
Co-authored-by: Sébastien Morais <[email protected]>
Co-authored-by: Sébastien Morais <[email protected]>
@lorenzovecchietti lorenzovecchietti marked this pull request as ready for review July 8, 2024 12:58
@MaxJPRey MaxJPRey changed the title REFACTOR: Icepak Mesh class initialization performace REFACTOR: Icepak Mesh class initialization performance Jul 9, 2024
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lorenzovecchietti lorenzovecchietti merged commit 7df5d64 into main Jul 10, 2024
46 checks passed
@lorenzovecchietti lorenzovecchietti deleted the mesh-initializations-perfomance branch July 10, 2024 07:48
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.

Mesh class initialization extremely slow
4 participants