Add compiler performance metrics
WIP
This commit is contained in:
committed by
nataliya.valtman
parent
64da19cb2d
commit
9becb2c468
@@ -326,7 +326,12 @@ abstract class CompileServiceImplBase(
|
||||
}
|
||||
CompilerMode.NON_INCREMENTAL_COMPILER -> {
|
||||
doCompile(sessionId, daemonReporter, tracer = null) { _, _ ->
|
||||
compiler.exec(messageCollector, Services.EMPTY, k2PlatformArgs)
|
||||
val exitCode = compiler.exec(messageCollector, Services.EMPTY, k2PlatformArgs)
|
||||
|
||||
val perfString = compiler.defaultPerformanceManager.renderCompilerPerformance()
|
||||
(compilationResults as CompilationResults).add(CompilationResultCategory.BUILD_REPORT_LINES.code, arrayListOf(perfString))
|
||||
|
||||
exitCode
|
||||
}
|
||||
}
|
||||
CompilerMode.INCREMENTAL_COMPILER -> {
|
||||
|
||||
Reference in New Issue
Block a user