Reputation: 1034
I'm currently away from home and forgot to bring my Nexus 7 with me, so I've been developing on an emulator. I'm using the HAXM Intel x86 system image and it's loads faster than the traditional ARM system image. Even then, I sometimes experience lag when it comes to rendering simple animations such as swiping across a ViewPager or flipping a fragment around with a "cover flip" sort of effect.
I've googled various articles regarding performance, but most of them seem to compare performance between the ARM system image and the Intel system image. Since I won't have access to my Nexus 7 before I release my new app, my question is this:
How does the performance on the Intel system image emulator correlate to a real device's performance? Is a real device significantly faster than the Intel emulator, or can I expect to see the same occasional stuttering that I see now on the emulator?
Upvotes: 3
Views: 1598
Reputation: 3122
HAXM is faster then emulated ARM and if Graphics Hardware Acceleration doesn't cause any problems it is quite usable. I was able to run Nexus 10 emulator without problems until something was "fixed" in hardware acceleration and my Mac(ATI) started to freeze every time I have launched emulator.
As I don't use mac nor windows anymore here some values for real device in comparison to KVM enabled Ubuntu:
Emulator (4.2.2 Intel 7inch, HW enabled, host i7 running Ubuntu 64 with KVM)
07-25 11:05:40.175: I/performance:(2287):
07-25 11:05:40.285: I/performance end:(2287):
Samsung Nexus
07-25 12:07:48.352: I/performance:(19139):
07-25 12:07:49.328: I/performance end:(19139)
Emulator wins massively. Task was to download few files from sdd parse them into json then write to db
Upvotes: 3