Adjust performanceTest jvm args

This commit is contained in:
Simon Ogorodnik
2019-05-27 14:59:43 +03:00
parent a3d8fdf30a
commit 50a7d3f037
-8
View File
@@ -192,14 +192,6 @@ projectTest(taskName = "performanceTest") {
"-XX:+UseCompressedOops",
"-XX:+UseConcMarkSweepGC"
)
jvmArgs("-XX:+UnlockCommercialFeatures", "-XX:+FlightRecorder")
if (hasProperty("perf.flight.recorder.override")) {
jvmArgs(property("perf.flight.recorder.override"))
} else {
val settings = if (hasProperty("perf.flight.recorder.settings")) ",settings=${property("perf.flight.recorder.settings")}" else ""
jvmArgs("-XX:StartFlightRecording=delay=15m,duration=5h,filename=perf.jfr$settings")
}
doFirst {
systemProperty("idea.home.path", intellijRootDir().canonicalPath)