简体   繁体   中英

How to find CPU intensive class on Mac?

All, I have a huge application that processes media files. I get 102% CPU usage when i launch my application and start processing a media file. I would really like a tool that can tell me which class is CPU intensive. That way i can jump to that class and fix it.

You can use the Time Profiler tool from Instruments.

It will provide you with detailed information with running times for all your functions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM