Jump to content

Help me test CPU for Java building

piter0

Hello! 

Is somebody willing to compile spring-framework on his machine and told me the time it took ? 
I want to compare the times and decide whether switching to new build is worth it. 

It should be done on Linux. 
repo : https://github.com/spring-projects/spring-framework
java : https://jdk.java.net/17/

Just download java .tar,
set JAVA_HOME to the unpacked folder,
change in gradle.properties file the -Xmx... to -Xmx10g    (we want 10GB memory in our test)
and run ./gradlew clean build --parallel .

Appreciate any help ! 

On Macbook Pro 16"  2019,  intel i9  : 5 minutes first run (not so important), 1 minutes every other run with gradlew clean build 
On dell inspiron 4700u : 5minutes 10 seconds (not so important), 1minute 5seconds every other run. 

SSD is highly required here. 

Regards, would love to see your results! 

Link to comment
Share on other sites

Link to post
Share on other sites

On my Ryzen 3700X running Fedora 34 it took 5:12 on the first run and 30 seconds on the second.

Link to comment
Share on other sites

Link to post
Share on other sites

3700x with Arch, 5:09 on the first run (tons of downloads), 14s on the second:

image.png.6beeaa04bdbd70e643fc8c033aac1b19.png

 

Moving to a tmpfs didn't change much:

image.png.3ce991bdbbbbb5b7574ea6c0ff82dd1f.png

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

@mail929 @igormp

Thanks guys! 
2x improvement is huge. I wonder what is the cause of a difference you have. The same CPU, but 14seconds vs 30.
Maybe mail929 forgot to change RAM settings in gradle.properties? Or different SSD ? 

Link to comment
Share on other sites

Link to post
Share on other sites

I have 64gb 3200mhz of ram, and ran the test out of a gammix s11 pro nvme, in case this information helps.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

16 hours ago, piter0 said:

@mail929 @igormp

Thanks guys! 
2x improvement is huge. I wonder what is the cause of a difference you have. The same CPU, but 14seconds vs 30.
Maybe mail929 forgot to change RAM settings in gradle.properties? Or different SSD ? 

Definitely changed the RAM settings, looks like @igormp has an NVMe SSD, I only have a SATA SSD so that would be my guess.

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, mail929 said:

Definitely changed the RAM settings, looks like @igormp has an NVMe SSD, I only have a SATA SSD so that would be my guess.

Oh, that's likely it then. I bet you'd achieve similar results to mine if you moved the folder over to a tmpfs

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×