GWT Transpiler Performance with MacBook M1 Pro

Dr. Lofi Dewanto
Geek Culture
Published in
4 min readOct 28, 2021

--

Marco bought a new MacBook Pro with following spec: M1 Pro processor with 10 core CPU. So I was curious to see how the performance of that brand new MacBook in comparison with my older Intel MacBook Pro.

One of my Open Source project GWT Boot Samples would be a good project to serve as an example for the performance testing because of following points:

  • The project has some of examples to check GWT Boot Modules whether all dependencies are correctly wired together.
  • In all the examples within the project we transpile Java to JavaScript codes for different permutations (= browsers and languages) and this could be a hard work for the processor.

So here is the result of our comparison in Cologne, Germany with following options:

  • MacBook Pro 13-inch, 2018, Intel 2,7 GHz Quad-Core Intel Core i7
  • MacBook Pro Apple M1 Pro, 10 CPU cores with Native M1 JDK / Maven
  • MacBook Pro Apple M1 Pro, 10 CPU cores with x86_64 JDK / Maven using Rosetta emulation
  • Lenovo T580, Intel® Core™ i7–8650U CPU @ 1.90GHz × 8

Let’s geeeet ruuummble!

Cologne Dom, Germany

My Older MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)

--

--