@ustk Perfetto is a beast and requires you to sprinkle code snippets across your code to allow a good trace.
If you enable debug symbols (!= debug mode) in your release build then you can also use the Time Profiler in the Xcode Instruments toolkit for finding the CPU hotspots.