Is the speed of compiling software very dependent on the CPU? I know this question is a bit broad, but I'm to find an answer to the case described below.
If I download a software project that makes use of Node.js, TypeScript, and JavaScript and compile it running yarn
it takes a certain duration on machine A
and another duration on machine B
. In my test case machine A
is equipped with an Intel i5-4570
and machine B
is equipped with an AMD Ryzen 5 1600x
. Both have 16 GB RAM and both also have similar SSD drives in use.
Now, if I run the software compilation on both machines, machine A
takes about 1:30min and machine B
takes about 1:20min. Hence, machine B
is not significantly faster, even though the CPUs are quite different in capability and get different scores according to CpuBenchmark:
Intel i5-4570
: 7109 CPU MarkAMD Ryzen 5 1600x
13232 CPU Mark
The single core rating of both CPUs is quite similar at around 2000 Points, but when I run compilation all cores move up to 100% according to system power statistics.
I also checked the network usage, but doesn't move over 10kB/s and is therefore negligible. The RAM use fluctuates within about 1GB in both systems between 9GB and 10GB.
Now, as the expected results differ quite intensly to the reality, I obviously am missing a point. So, an experienced input of some of you guys would very much help.
Is there anything else I could measure? Is there anything I missed or maybe don't know and therefore should further test? I basically want to find out, why the Ryzen is not significantly faster than the Intel mentioned above.