0

I don't have an iPhone Developer Program Account yet and will be getting one in the next couple of days. Can instruments be used with the simulator to give a rough estimate on how well my app may perform? Using instruments I checked and fixed all the leaks it was detecting, and it appears that my memory usage maxes out at about 5.77mb. Is there any other tests I could perform with instruments to judge how well my app would perform? I realize there is no way other then the actual device to get a definite answer, it would be nice to get an estimate.

4

2 回答 2

0

控制记忆是很好的第一步。此外,请确保您没有分配太多对象,因为所有这些分配都需要时间(使用 ObjAlloc 来检查这一点;它可以向您显示 Leaks 无法显示的内容)。

比较 Sim 和 Device 之间的性能几乎毫无意义……您实际上拥有无限的内存,可以在桌面上使用 CPU。最好等到您的应用程序安装在实际设备上。

于 2009-11-28T00:09:23.237 回答
0

您可以在等待开发者帐户时使用越狱设备进行测试。当您获得帐户时,您将有时间修复任何潜在问题,并且只需要使用新凭据重新编译并部署即可。

于 2009-11-28T08:11:03.353 回答