The table below shows all of Hugo's benchmarks run on both a MacBook with Intel CPU and a Mac Mini M1 with an ARM CPU.
The Intel Mac is a 2019 16 inch MacBook with 2,3 GHz 8-Core Intel Core i9 with 32 GB ram.
The ARM Mac is a new Mac Mini M1 base model with 8 GB of ram
The benchmarks are run with go test -test.run=NONE -bench="Benchmark" -test.benchmem=true -cpu=8 -count=4 ./.... Since the M1 does not have a concept of Turbo Boost, I kept that on when running the Intel benchmarks.
The right column is the Mac Mini, negative (black) numbers are good, positive numbers (red) are not so good.
Go is compiled from the latest source: go version devel +5627a4dc30 Wed Dec 9 16:57:37 2020 +0000 darwin/arm64
This test isn't exactly comparing apples with apples (pun intended); this is a 4K USD computer compared to a 1K computer, but that makes the performance of the Mac Mini even more impressive.
There are some areas where the Intel still outshines the ARM, and that is most likely areas with highly optimized assembly code, and this will certainly improve. More benchmarks can be found here.
You probably want to watch issue to track when we can get a Go release with MacOS M1 support. A couple of months?
Also, this work document is a great resource for getting a native Go development environment up and running on the M1.