我怎样才能使用鲨鱼来描述我的iPhone应用程序? [英] How exactly can I use shark to profile my iPhone app?

查看:131
本文介绍了我怎样才能使用鲨鱼来描述我的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.

推荐答案


  1. 构建应用并在设备上启动

  2. 启动Shark

  3. 从Shark菜单中选择Sampling->网络/ iPhone分析

  4. 在Shark窗口中,选择单选按钮控制共享计算机的网络分析。

  5. 在列表中选择您的iPhone,并可选择配置性能分析会话

  6. 按开始开始分析,停止结束

  1. Build app and launch on device
  2. Launch Shark
  3. From the Shark menu, select Sampling->Network/iPhone Profiling
  4. In the Shark window, select the radio button "Control network profiling of shared computers".
  5. Select your iPhone in the list and optionally configure the profiling session
  6. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆