简体   繁体   English

模拟器与IOS设备性能

[英]Simulator Vs IOS Device Performance

I'm creating a platform app which has ground nodes constantly moving, being disposed and regenerating. 我正在创建一个平台应用程序,该应用程序的地面节点不断移动,被处置和再生。 When running my app on the simulator a noticeable glitch in apparent, however when running on my device, from what I can see there is not glitch. 在模拟器上运行我的应用程序时,明显出现故障,但是在设备上运行时,从我看到的结果来看,没有故障。

My question is, should the device perform better then the simulator or am I maybe just not noticing the glitch on the device because it is so much small. 我的问题是,设备的性能是否应比模拟器好?或者我可能只是没有注意到设备上的故障,因为它是如此之小。

Previous article have suggested the simulator should perform better, but these articles are in reference to iPhone 3GS, so I wondering if the newer iPhones are now out performing the simulator. 上一篇文章建议模拟器应具有更好的性能,但是这些文章是针对iPhone 3GS的,因此我想知道新型iPhone是否现在可以执行模拟器了。

My device is an iPhone 5 and it is running IOS 8.2 and the simulator is version 8.3. 我的设备是iPhone 5,运行的是IOS 8.2,模拟器是8.3版。

It's just general usage testing. 这只是常规使用测试。 The device performs in an entirely different environment than your computer, and it's the best way to make sure if you push your app out to devices, that nothing unexpected will happen. 该设备在与计算机完全不同的环境中运行,这是确保将应用程序推送到设备的最佳方法,这不会发生任何意外情况。 For example, the phone/pad may have limited data coverage, low memory situations, incoming calls etc.. These situations are a lot more common on devices, then when people emulate it though the simulator. 例如,电话/键盘的数据覆盖范围有限,内存不足,来电等。这些情况在设备上更为普遍,然后人们通过模拟器对其进行仿真。

On a hardware point of view, the device uses a different processor architecture than your Mac, which also needs to be accounted for (not as much as other cases, but you need to cover your bases). 从硬件的角度来看,该设备使用的处理器架构与Mac不同,这也需要考虑(这与其他情况不一样,但需要涵盖所有基础)。 The Mac also cannot reliably emulate RAM, Disc Space, Processor Speed etc...hence testing on the device is useful here also. Mac也无法可靠地仿真RAM,磁盘空间,处理器速度等,因此在设备上进行测试也很有用。

Overall if you're intending to release your application to the App Store, or to devices at least, it's worth testing on the device itself. 总体而言,如果您打算将应用程序发布到App Store或至少发布到设备,则值得在设备本身上进行测试。 Only then can you be sure that it will act and perform as expected on the platform you intend to target. 只有这样,您才能确定它会在您要定位的平台上按预期方式运行和执行。 The simulator is only a simulator after all, not the real thing! 毕竟,模拟器只是一个模拟器,不是真实的东西!

Reference from HERE . 参考从这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM