Hacker News new | ask | show | jobs
by hawski 1865 days ago
And here I thought that having a desktop CPU like Ryzen 5 2400G with loads of RAM would take me somewhere. It took the machine around 71 seconds.

EDIT: could you measure C compilation. For example:

  git clone --depth 1 --branch v5.12.4 "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
  cd linux
  make defconfig
  time make -j$(getconf _NPROCESSORS_ONLN)
For me it's slightly below 5 minutes.
1 comments

It took the machine around 71 seconds.

Are you including download time? On my Ryzen 7 3700X, it's done in 17 seconds.

Specifically I did it two times to not see the download/syncing time. Also to a fresh home. 3700X has 16 threads, 2400G has 8, that probably makes up for the most of the difference. But M1 has 8 cores (4× high-performance + 4× high-efficiency. Maybe rust version also counts? I'm on rust 1.48.

EDIT: I checked on 1.52.1, which is latest stable and it went down to 54 seconds. So that also makes up a significant difference.