Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed logging messages for jacodb initialization
  • Loading branch information
Damtev committed Dec 1, 2023
commit 251cafc533e0669862b3cab8c79d2e95c2743305
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,18 @@ fun runUsvmGeneration(
)
)

logger.info().measureTime({ "Contest preparation: ensure JacoDB is initialized (NOT counted in time budget)" }) {
jcContainer // force init lazy property
}
logger.info().measureTime({ "Contest preparation: ensure executor is started (NOT counted in time budget)" }) {
jcContainer.runner.ensureRunnerAlive()
}

logger.info().measureTime({ "class ${cut.fqn}" }, { statsForClass }) {
val filteredMethods = logger.info().measureTime({ "preparation class ${cut.clazz}: kotlin reflection :: run" }) {
prepareClass(cut.clazz, methodNameFilter)
}

logger.info().measureTime({ "preparation: ensure JacoDB is initialized (counted in time budget)" }) {
jcContainer // force init lazy property
}
logger.info().measureTime({ "preparation: ensure executor is started (counted in time budget)" }) {
jcContainer.runner.ensureRunnerAlive()
}

statsForClass.methodsCount = filteredMethods.size
val methodToStats = filteredMethods.associateWith { method ->
StatsForMethod(
Expand Down