7

Apple M1 vs Intel — The ULTIMATE Comparison

 3 years ago
source link: https://proandroiddev.com/apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1*YBg31tbDKX5g3qzM3z0oTQ.jpeg?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc

Apple M1 vs Intel — The ULTIMATE Comparison

You hear about the new M1 MacBook, you also hear that they are must faster than any other Intel MacBook. But is it faster for typical users only? Is it good for the developer, or worse? Should I upgrade now or wait for the next generation M1X? Let’s find out!

What is on the table?

1*58gjBpQ7k43nh61P0DmuDA.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
Technical Specifications

Round 1: CPU Benchmark Scores

1*PMKV5vh1g2L5P8W26STQpA.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
https://browser.geekbench.com/macs/macbook-pro-13-inch-late-2020

According to Geekbench 5, the new MacBook Pro M1 is 70% faster in single-core and 50% faster in multiple-core, but numbers in the paper do not always translate to real-life performance.

Notice that the M1 has only eight threads while the i7 has 12 threads.

Round 2: Gradle project build time

This is a six-year-old Android project I’m currently working on, there are 44 modules and 917 tasks that need to be executed. About 50% Java and 50% Kotlin contain many annotation processors like Dagger 2, Data Binding, and Butter Knife.

All dependencies are cached, --rerun-tasks is enabled, and the M1 uses native JDK (Zulu aarch64). See more details are in the build scan

Intel MacBook Pro (15-inch Mid 2019):

M1 MacBook Pro (13-inch Late 2020):

1*bsb2ztqCke1zTLCVQ-HptQ.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc

If only execution time is taken into account, the M1 is 59% faster. Combine with initialization and configuration time, it’s 60% faster.

Why is the configuration time on the M1 faster? I’m not too sure, if anyone knows, please comment down below!

Final round: Temperature

1*vBZN5sf0Dlt8Zv8G24ZryQ.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
Intel vs M1

During build time, CPU temperature ramps up a lot. I built six times on the Intel MacBook and seven times on the M1 MacBook. At peak, the Intel MacBook can reach 100°C while the M1 stops at ~70°C.

To me, temperature plays a crucial part because:

  • When developing, you have to put your hands on the aluminum MacBook body (which is a highly conductive material). After two or three builds, your hands will get sweaty because of the hot surface. This causes a lot of distractions while coding. Because of this, I end up buying a separate keyboard and trackpad. 🙁
1*SQB2Ak73L5w4ps2WaTzwZA.jpeg?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
  • High temperature = 100% fan capacity = more dust will be sucked into your MacBook, leading to a decrease in cooling performance which will lead to an even higher temperature. 🤨
1*6k7MpyHDDt62pztrSXWvHg.jpeg?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
  • Imagine you are in a room with a lot of people and your MacBook puts you in an awkward situation because of the noisy fans.
1*wdzlBUQD4aaIiBr4lSjT6Q.jpeg?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc

Is MacBook M1 ready for Android development?

Android Studio ✅

The native ARM M1 build is available on the canary channel, in short: it works but it’s not perfect.

1*4Mu5imN9CZzMZYGhSPtt4g.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
https://androidstudio.googleblog.com/2021/04/android-studio-arctic-fox-canary-15.html

Gradle ✅

Basically, Gradle is a Java application, which runs on top of a JVM. There is a native JDK build provided by Azul which is also what I’m using in this test.

Android Emulator ✅

According to the Android Studio team, the Android Emulator works with API 30 and API S Developer Preview emulator system images.

Conclusion

The M1 MacBook beat Intel MacBook in every round, it has faster build time, the temperature is way cooler. But in software development, reliability plays a crucial part too. Most of the time, you want to focus on writing code instead of fixing compatibility bugs. When all development-related tools are switched to native ARM, MacBook Pro will become a great development machine that you can rely on.

1*ScvXChTCbEKU3b3ST8MEWg.jpeg?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
1*xKlyaZ1Il_R_P9apmx7l_w.png?q=20
apple-m1-vs-intel-the-ultimate-comparison-2a2f0d197dc
DPXjUiRVishfELt1nBd8Xxku6obMBDT8qz

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK