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

Speed up PVDReader for files with many time points #3946

Merged
merged 3 commits into from
Mar 8, 2023

Conversation

MatthewFlamm
Copy link
Contributor

Overview

Closes #3937. Adds in a mapping with keys of time that stores datasets. This extremely reduces the time required to iterate over a PVDfile with many time points.

@github-actions github-actions bot added the maintenance Low-impact maintenance activity label Feb 2, 2023
@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Merging #3946 (76e02d6) into main (bd927d6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3946   +/-   ##
=======================================
  Coverage   94.51%   94.51%           
=======================================
  Files          97       97           
  Lines       20608    20611    +3     
  Branches     3480     3481    +1     
=======================================
+ Hits        19478    19481    +3     
  Misses       1129     1129           
  Partials        1        1           

Copy link
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

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

Sorry for the delayed review @MatthewFlamm, I'll get better about reviewing these.

LGTM. Didn't even see the GIF there in the docstr.

@akaszynski akaszynski merged commit 8bba33f into main Mar 8, 2023
@akaszynski akaszynski deleted the maint/speed-up-pvd-reader branch March 8, 2023 03:44
@MatthewFlamm MatthewFlamm mentioned this pull request Mar 9, 2023
@akaszynski akaszynski mentioned this pull request Apr 30, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PVDReader slow when handling files with large number of timepoints
2 participants