Fixed dependencies for performance tests

This commit is contained in:
Vladimir Dolzhenko
2019-12-01 09:35:32 +01:00
parent f8a6217fb5
commit 1b075340f8
3 changed files with 8 additions and 3 deletions
+2
View File
@@ -194,6 +194,7 @@ dependencies {
performanceTestCompile(sourceSets["test"].output)
performanceTestCompile(sourceSets["main"].output)
performanceTestCompile(project(":nj2k"))
performanceTestCompile(project(":idea:idea-gradle-tooling-api"))
performanceTestCompile(intellijPluginDep("gradle"))
performanceTestRuntime(sourceSets["performanceTest"].output)
}
@@ -220,6 +221,7 @@ projectTest(taskName = "performanceTest") {
jvmArgs?.removeAll { it.startsWith("-Xmx") }
maxHeapSize = "3g"
jvmArgs("-Didea.debug.mode=true")
jvmArgs("-XX:SoftRefLRUPolicyMSPerMB=50")
jvmArgs(
"-XX:ReservedCodeCacheSize=240m",