如何在不构建/运行xcode的情况下测试iPhone应用程序性能和网络使用情况

时间:2011-11-16 07:43:54

标签: iphone ios xcode ipad

我想检查一下我没有源代码的iPhone应用程序的内存和网络使用情况。我该怎么做?

2 个答案:

答案 0 :(得分:8)

最后,我能够检查应用程序的性能和实际内存使用情况。使用 Xcode 安装目录/ Applications / Instruments.app。下的 Instruments.App

Connect your device to Mac.
    1.  Launch Instruments. The application automatically creates a new trace document and prompts you to select a template.
    2.  Select the Activity Monitor template under IOS section and and click the Choose button. Instruments adds the Activity Monitor instrument to the trace document.
    3.  In the Default Target menu of the trace document, choose Target and select the App you want to target.
    4.  Click on the Record button. Targeted App will be started running on your device.
    5.  Wait a few seconds so that Instruments can gather some data. Now perform you are operations on the App.
    6.  Click the Stop button after your actions completed.

感谢。

答案 1 :(得分:0)

@Dear Ramakrishna无法通过应用程序的源代码检查应用程序的性能。 如果你有源而不是只有你可以检查应用程序的性能。通过帮助性能工具 - >泄漏点击你检查应用程序的性能。 谢谢,我想这会对你有所帮助