I am trying to do some performance testing for my application and am looking to monitor its certain metrics, specifically cpu usage amongst others. I want to make the process completely automated. I am able to create the .trace file and am looking for a solution to get meaningful information from the trace file. I want to do this on non jail broken devices so using top too is not feasible
Thanks for any pointers for finding cpu usage on non jail broken devices in an automated fashion.
-Kshitiz
You can run Instruments to import the trace file and export it as CSV for analysis by a script. It's not strictly 100% command-line, but if you automate the Instruments export it will be close.
Or, try DTrace, but I'm not sure if that supports iOS trace formats.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With