Type: Technical task
Fix Version/s: None
Sprint:AP S22-6 (May)
Using the dataset defined in
DM-34824, perform an initial profiling run. Document the steps taken on this ticket and attach results.
- relates to
DM-32838 AP pipeline performance characterization
Take a look at the script I attached here, and let me know if it makes sense to you. This is what I'm using to do the profiling, I'll just modify it for each appropriate ticket.
I've attached pngs of the call graph in case that's easier for a quick look before delving into snakeviz.
I'm not sure how to open the .out files, so I appreciate Tim making nice little pngs!
The profiling script looks like you ran all the intended things, and we poked at the outputs together earlier today. Maybe sometime later we should document how to run (and interpret) profiling since I had no idea prior to now? Otherwise all set!
I made the PNGs with something like: gprof2dot -f pstats profile.pstat | dot -Tpdf -o profile.pdf.
I've attached the profiling script I ran on lsst-devl02, and the results for both of the selected detectors. Not a big difference between the two, but this gives us a useful starting point.
These profiles open in snakeviz fine, which is probably as good a way as any to start digging into them.