AMD Ryzen for Android development

I bought a new laptop, such fast, much happy.

  • Small enough to be able to sit on the sofa and do my life-admin tasks.
  • Powerful enough to do a bit of development without waiting for the earth to do a complete rotation.
  • No option currently for 16GB of RAM. 8GB isn’t enough for Android development when you also use emulators.
  • Minor thing, but I use a Macbook Pro 16" for work (more on that below), and wanted to go back to using something non-Mac.
  • Cost. £1300 is more than I wanted to pay for a weekend machine.
  • Has a AMD Ryzen 5 4600H CPU. That’s the faster H chip, not the 4600U which you typically find in ultrabook laptops.
  • 16GB of RAM. ‘nuff said.
  • 3:2 screen ratio. This wasn’t a requirement, but it really does work well for coding.
  • Cost: £849.

Android development build times

So lets cut to the actual point of this blog post, putting the AMD Ryzen 4600H through it’s paces for some Android development.

# Prime the build caches, start the Gradle daemon, etc
./gradlew assembleDebug
# Do a full build 5 times
for i in {1..5} ; do
./gradlew --profile --offline --rerun-tasks assembleDebug
done

Results

Macbook Pro 16": 101.9 seconds. Matebook 14": 106.84 seconds

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store