So far, this includes statistical profiles via py-spy.
-
Run a profile test with the
profile.shscript as so:# PROFILE_CASE_PY=groupby_air.py sudo ./profile.sh $PROFILE_CASE_PY
This will open a flame graph in the browser.
-
After tuning code in xarray-sql, run another profile to generate a SVG.
-
Please commit the "after" profile SVG along with the performance improvements.