evaluating the upgrade of my pc, I stumbled upon t...
# random
e
evaluating the upgrade of my pc, I stumbled upon the cpu choice, I've always thought that a new ryzen (5xxx or 3xxx gen) would suit perfectly, but I read this and now I'm puzzled.. has anyone have some personal experience in this?
a
From this Reddit thread it is pretty clear to me - split your project by multiple modules with as flat hierarchy as possible. On my current project we have 300+ Gradle modules. CI builds are utilizing 20+ threads most of the time.
☝️ 1
k
This is a compile of an open source project with 20 modules
a
You can run gradle --scan to check where is the bottleneck
k
Even ryzen laptops are crazy fast...
a
If your modules have serial dependcies A->B->C, you won't get any benefits. Modules should be independent if you want to utilize all cores.
1
h
I ran a bunch of benchmarks for the M1 stuff, including against a whole series of cloud server and some physical machines I had
In single core stuff the ThreadRippers I had (Gen2, 2018) were a bit slower than a slightly older i7-6700 (2016). The benchmark may have had an added complication of the i7 being Linux and the ThreadRipper being Windows10 though.
It could also be that the i7 maxed out at 4 GHz while the ThreadRipper maxed out at 3.5 GHz too though, but sacrificing clock speed for core count is part of the design.
e
@HankG any conclusion from the M1 benchs?
h
Yup, M1 with native Java JDK is very impressive
I've been doing dev under IntelliJ running in emulation and it is noticeably slower than on my 2018 MBP but it's still fine performance
as soon as IntelliJ supports a native JDK though I'm jumping over to it