mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
Startup Performance tests: tests have been refactored + a new test for a project with one java file and classLoadingCount metric's comparison has been added
GitOrigin-RevId: 734eeccd274d6178a80e8a399f74cf3a5e24cc9e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c7c2ff0c69
commit
4b3a625255
@@ -334,13 +334,18 @@ data class IDETestContext(
|
||||
fun warmUp(
|
||||
patchVMOptions: VMOptions.() -> VMOptions = { this },
|
||||
commands: Iterable<MarshallableCommand>,
|
||||
runTimeout: Duration = 10.minutes
|
||||
runTimeout: Duration = 10.minutes,
|
||||
storeClassReport: Boolean = false
|
||||
): IDEStartResult {
|
||||
|
||||
return runIDE(
|
||||
patchVMOptions = {
|
||||
val warmupReports = IDEStartupReports(paths.reportsDir / "warmUp")
|
||||
enableStartupPerformanceLog(warmupReports).enableClassLoadingReport(paths.logsDir / "class-report.txt").patchVMOptions()
|
||||
if (storeClassReport) {
|
||||
this.enableStartupPerformanceLog(warmupReports).enableClassLoadingReport(paths.reportsDir / "warmUp" / "class-report.txt").patchVMOptions()
|
||||
} else {
|
||||
this
|
||||
}
|
||||
},
|
||||
commands = testCase.commands.plus(commands),
|
||||
runTimeout = runTimeout,
|
||||
|
||||
Reference in New Issue
Block a user