Disable scripting plugin in JPS tests

JVM compiler loads scripting plugin by default,
which in turn performs script template discovery
in compile classpath.

Classloading and template discovery takes noticeable
amount of time in JPS tests, because of
relatively big number of short compilations.

Disabling scripting plugin in most JPS+JVM tests
speeds up JPS tests by ~8% compared to the result before all
optimizations.
This commit is contained in:
Alexey Tsvetkov
2019-04-15 23:51:03 +03:00
parent 175dd5679c
commit ea4fc0fb6b
7 changed files with 195 additions and 172 deletions
@@ -974,7 +974,7 @@ fun main(args: Array<String>) {
}
testGroup("jps-plugin/jps-tests/test", "jps-plugin/testData") {
testClass<AbstractIncrementalJpsTest> {
testClass<AbstractIncrementalJvmJpsTest> {
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
model("incremental/multiModule/jvm", extension = null, excludeParentDirs = true)
model("incremental/multiModule/multiplatform/custom", extension = null, excludeParentDirs = true)