Welcome to my blog about Android Emulator performance. I started comparing the performance of the generic emulator in Eclipse and the x86 Emulator that utilizes the Intel® Hardware Accelerated Execution Manager (Intel HAXM) and was quite surprised at the difference in performance. So here is the blog! |
Description:I recently started learning about Android App Development and in the process I have been going through the training tutorials on developer.android.com. The app that I used for the tests below is based on the "MyFirstApp" offered in the training. I made it as far as creating the two intents so there isn't much processing it has to do (it is probably the most basic app that exists.) The reason why I shifted to emulator performance was I got really tired of waiting for the emulator to load so that I could test my app. Test System Configuration:
Disclaimer: The performance results below are based on my system that has all software associated with a Corporate IT Build installed and running. It was not prepped for "Performance testing." The results below will vary according to specific system configuration. The Basic Emulators:In my installation of Eclipse, I have just the two basic emulators: Nexus_7_arm and the Nexus_7_x86. Open the Android SDK Manager to see which emulators are available:
The results:
|
Summary
While you still have to wait for the OS to load when using the Intel x86 emulator with Intel HAXM enabled, the total run time is much faster than waiting for the generic ARM emulator (3.65X more time overall to run.) Since the biggest difference in time was in uploading and installing the app, I would imagine that if my app was actually complex the overall performance difference would be far greater.
The really neat thing about this emulator is: Even if your app is targeted for ARM devices, the Intel HAXM enabled emulator can be used for testing. This can save a lot of time.
Icon Image:
