Quantcast
Channel: User Mark - Stack Overflow
Viewing all articles
Browse latest Browse all 44

Measure which Java code is taking long to compile

$
0
0

There is a large Java project that takes long to compile, both through Maven and through IntelliJ IDEA.

I want to try to improve that, but you know what they say about optimization without measurement, so here we are.

CPU use is at times 100% on all cores, but sometimes drops for 10+ seconds. RAM and disk are used but don't seem at capacity (judging from windows task manager).

I'd be interested in measuring anything that helps. Mostly which source files, which constructs, or which compilation steps.

(Details about project: millions of lines of code, dozens of maven projects, language level 8 but recent jdk)


Viewing all articles
Browse latest Browse all 44

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>