Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_base, pex_config, pipe_tasks
-
Labels:None
-
Story Points:3
-
Team:Architecture
-
Urgent?:No
Description
The nopytest_test_coadds.py in pipe_tasks takes over 10 minutes on a MacBook Pro with M1 Pro/Max but less than two minutes on a MacBook Air with M1.
Profiling shows that almost all that time is in daf_base property set setting.
- Caching the options setting as a PropertySet in the mock code helps a lot.
- The daf_base code for automatically determining the type by name also needlessly runs the same logic every time rather than caching the mapping.
Attachments
Issue Links
- relates to
-
DM-35008 trailedSources tests very slow on macOS ARM
- Done
Eli Rykoff thank you for volunteering to do the review.
I learned the following:
For the record I created my profile with:
% gprof2dot -f pstats faster.prof| dot -Tpng -o faster.png
I will upload a new profile without the pex_config change.