Rebuild once after each JPS test
After each test we rebuild everything, then we compare incremental caches and output with caches and output after rebuild. For some reason we did rebuild and comparison twice per test. This seems excessive. Removing the second rebuild speeds up JPS tests by ~15% compared to the result before all optimizations
This commit is contained in:
@@ -321,7 +321,6 @@ abstract class AbstractIncrementalJpsTest(
|
||||
UsefulTestCase.assertSameLinesWithFile(buildLogFile.absolutePath, logs)
|
||||
|
||||
val lastMakeResult = otherMakeResults.last()
|
||||
rebuildAndCheckOutput(lastMakeResult)
|
||||
clearCachesRebuildAndCheckOutput(lastMakeResult)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user