F5F Stay Refreshed Hardware Desktop Check CPU performance during Java compilation

Check CPU performance during Java compilation

Check CPU performance during Java compilation

G
Gapyyyyy
Member
64
10-19-2025, 07:00 PM
#1
Hello! Someone is ready to build the spring-framework on their machine and shared the duration. I’m interested in comparing the times to see if a new build makes sense. The setup should be on Linux. Repo link: https://github.com/spring-projects/spring-framework java: https://jdk.java.net/17/ Just download the .tar file, configure JAVA_HOME, adjust gradle.properties with -Xmx10g for 10GB memory, and run the build. Thanks for your help! On a Macbook Pro 16" 2019, i9: 5 minutes first time (not crucial), 1 minute every other run with gradlew clean build. SSD is essential here. Looking forward to your results!
G
Gapyyyyy
10-19-2025, 07:00 PM #1

Hello! Someone is ready to build the spring-framework on their machine and shared the duration. I’m interested in comparing the times to see if a new build makes sense. The setup should be on Linux. Repo link: https://github.com/spring-projects/spring-framework java: https://jdk.java.net/17/ Just download the .tar file, configure JAVA_HOME, adjust gradle.properties with -Xmx10g for 10GB memory, and run the build. Thanks for your help! On a Macbook Pro 16" 2019, i9: 5 minutes first time (not crucial), 1 minute every other run with gradlew clean build. SSD is essential here. Looking forward to your results!

_
_MrTamir_
Junior Member
46
10-20-2025, 12:58 AM
#2
During testing on my Ryzen 3700X with Fedora 34, the initial boot took 5 minutes and 12 seconds, while the second attempt completed in just 30 seconds.
_
_MrTamir_
10-20-2025, 12:58 AM #2

During testing on my Ryzen 3700X with Fedora 34, the initial boot took 5 minutes and 12 seconds, while the second attempt completed in just 30 seconds.

R
RYAANOO
Member
52
10-21-2025, 09:38 AM
#3
3700x using Arch Linux, 5 minutes 9 seconds on the initial attempt (very popular), 14 seconds on the second try. Switching to a tmpfs had minimal impact.
R
RYAANOO
10-21-2025, 09:38 AM #3

3700x using Arch Linux, 5 minutes 9 seconds on the initial attempt (very popular), 14 seconds on the second try. Switching to a tmpfs had minimal impact.

I
ItzGabeYT
Member
62
10-25-2025, 06:45 AM
#4
@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 ?
I
ItzGabeYT
10-25-2025, 06:45 AM #4

@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 ?

A
Agren
Junior Member
8
10-25-2025, 07:47 AM
#5
I have a 64GB RAM with a 3200MHz speed, and I performed the test using a GammaX S11 Pro NVMe drive. This data might be useful.
A
Agren
10-25-2025, 07:47 AM #5

I have a 64GB RAM with a 3200MHz speed, and I performed the test using a GammaX S11 Pro NVMe drive. This data might be useful.

L
l33tspock
Junior Member
38
10-30-2025, 02:56 PM
#6
Adjusted the RAM configurations, it seems @igormp uses an NVMe SSD, while I only have a SATA SSD—probably the reason.
L
l33tspock
10-30-2025, 02:56 PM #6

Adjusted the RAM configurations, it seems @igormp uses an NVMe SSD, while I only have a SATA SSD—probably the reason.

B
BryanPlayzz
Member
146
10-30-2025, 05:44 PM
#7
It seems like you're suggesting a change in approach. Moving the folder to a tmpfs might yield comparable outcomes.
B
BryanPlayzz
10-30-2025, 05:44 PM #7

It seems like you're suggesting a change in approach. Moving the folder to a tmpfs might yield comparable outcomes.