我怎样才能使用鲨鱼来描述我的iPhone应用程序? [英] How exactly can I use shark to profile my iPhone app?
本文介绍了我怎样才能使用鲨鱼来描述我的iPhone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在OS 10.5上使用Shark对我的iPhone游戏进行一些基本的分析(Open GL ES + Objective C)。我怎么能这样做?我已经阅读过教程,但是经过一整天的工作编码和之后几个小时的iPhone开发后,它们对我来说过于冗长。
I want to use Shark on OS 10.5 to do some basic profiling of my iPhone game (Open GL ES + Objective C). How exactly can I do this? I've read tutorials but they are too verbose for me after a full day of coding at work and a few hours of iPhone development afterwards.
推荐答案
- 构建应用并在设备上启动
- 启动Shark
- 从Shark菜单中选择Sampling->网络/ iPhone分析
- 在Shark窗口中,选择单选按钮控制共享计算机的网络分析。
- 在列表中选择您的iPhone,并可选择配置性能分析会话
- 按开始开始分析,停止结束
- Build app and launch on device
- Launch Shark
- From the Shark menu, select Sampling->Network/iPhone Profiling
- In the Shark window, select the radio button "Control network profiling of shared computers".
- Select your iPhone in the list and optionally configure the profiling session
- Press Start to begin profiling, and Stop to end
之后,假设您之前查看过其他个人资料,查看个人资料结果非常简单。
After that, viewing the profile results is pretty straightforward, assuming you've looked at other profilers before.
希望这有帮助!
这篇关于我怎样才能使用鲨鱼来描述我的iPhone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文