XCode:测量代码性能的最佳方法是什么?

Jak*_*nds 0 c c++ xcode

请告诉我,在Xcode中测量代码性能的最佳方法是什么?

gca*_*amp 6

使用Instruments.

打开项目,进入产品>配置文件菜单.这将打开Instruments.该Time Profiler仪器可能正是您所需要的.