Jump to content

Code Compile Benchmark with IntelliJ

Budgetclocker

I recently started using IntelliJ for my programming classes at Uni, and I'm looking for a way to benchmark the compile speed of my computer with larger projects.

 

Are there any good benchmarking solutions I can use to measure compile speed?

 

Link to comment
Share on other sites

Link to post
Share on other sites

Not directly answering your question but don't worry about the speed at this point too much, my 8750H laptop gets that done in 2~3 seconds during my first year using IntelliJ. It might be a 45w part, but you can get 15w CPUs with performance close to this these days.

CPU: i7-2600K 4751MHz 1.44V (software) --> 1.47V at the back of the socket Motherboard: Asrock Z77 Extreme4 (BCLK: 103.3MHz) CPU Cooler: Noctua NH-D15 RAM: Adata XPG 2x8GB DDR3 (XMP: 2133MHz 10-11-11-30 CR2, custom: 2203MHz 10-11-10-26 CR1 tRFC:230 tREFI:14000) GPU: Asus GTX 1070 Dual (Super Jetstream vbios, +70(2025-2088MHz)/+400(8.8Gbps)) SSD: Samsung 840 Pro 256GB (main boot drive), Transcend SSD370 128GB PSU: Seasonic X-660 80+ Gold Case: Antec P110 Silent, 5 intakes 1 exhaust Monitor: AOC G2460PF 1080p 144Hz (150Hz max w/ DP, 121Hz max w/ HDMI) TN panel Keyboard: Logitech G610 Orion (Cherry MX Blue) with SteelSeries Apex M260 keycaps Mouse: BenQ Zowie FK1

 

Model: HP Omen 17 17-an110ca CPU: i7-8750H (0.125V core & cache, 50mV SA undervolt) GPU: GTX 1060 6GB Mobile (+80/+450, 1650MHz~1750MHz 0.78V~0.85V) RAM: 8+8GB DDR4-2400 18-17-17-39 2T Storage: HP EX920 1TB PCIe x4 M.2 SSD + Crucial MX500 1TB 2.5" SATA SSD, 128GB Toshiba PCIe x2 M.2 SSD (KBG30ZMV128G) gone cooking externally, 1TB Seagate 7200RPM 2.5" HDD (ST1000LM049-2GH172) left outside Monitor: 1080p 126Hz IPS G-sync

 

Desktop benching:

Cinebench R15 Single thread:168 Multi-thread: 833 

SuperPi (v1.5 from Techpowerup, PI value output) 16K: 0.100s 1M: 8.255s 32M: 7m 45.93s

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Budgetclocker said:

Are there any good benchmarking solutions I can use to measure compile speed?

Shouldn't need a tool for that. Open the project and (clean) compile it. The compiler typically spits out the total compile time once done.

 

image.png.0ac31dfe303f7ec4c91708d548e18a7b.png

 

To compare multiple CPUs, you'd typically compile on the command like, then simply look at the time given by the compiler or maybe simply print a timestamp before/after the compile by running the compile from a script.

 

~edit: If you want to compare your performance to existing compiler benchmarks, have a look at the

https://openbenchmarking.org/

https://www.phoronix-test-suite.com/

 

To be able to compare results, make sure to compile the same source code version using the same compiler and compiler options/flags.

Remember to either quote or @mention others, so they are notified of your reply

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

×