-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
gradle-jpi plugin version 0.12.1
tried with both Windows 7 on Intel i5 CPU
and MacOS on i7 CPU. both have 4 cores.
I noticed that Jenkins started through "gradle server" command is very slow, each page load takes 3-5 seconds on a modern Core i7 machine. I see it is using a lot of CPU time.
if I stop it and run Jenkins from a regular WAR file, it works fast.
is there something that can be optimized there?..
That's because a lot of debug options are enabled by default:
https://github.com/jenkinsci/gradle-jpi-plugin/blob/0.12.1/src/main/groovy/org/jenkinsci/gradle/plugins/jpi/ServerTask.groovy#L46-L48
Unfortunately it's currently not possible to override those settings. I will fix that for the next release.