How to properly integrate profiling iOS app into CI/CD pipeline?

I am looking for tools or scripts to profile app during nightly build producing report to document the app performance. Can anyone recommend the best way to achieve this?