Closed andre15silva closed 3 years ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/main/java/eu/stamp_project/testrunner/listener/impl/TestResultImpl.java | 1 | 2 | 50.0% | ||
src/main/java/eu/stamp_project/testrunner/listener/impl/CoverageDetailed.java | 0 | 2 | 0.0% | ||
src/main/java/eu/stamp_project/testrunner/listener/utils/ListenerUtils.java | 28 | 35 | 80.0% | ||
<!-- | Total: | 35 | 45 | 77.78% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/main/java/eu/stamp_project/testrunner/listener/utils/ListenerUtils.java | 1 | 81.82% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 1104335528: | 1.1% |
Covered Lines: | 1064 |
Relevant Lines: | 2298 |
Ready for review
This PR optimizes the inter-process communication between the main
test-runner
process and the forked one for test execution.load
andsave
function toListenerUtils
TestResultReader
as it doesn't seem useful in this scenario, especially whentest-runner
is meant to be used throughEntryPoint
.Running
flacoco
onmath70
with this optimization reduces writing/reading time from ~25s to ~3s (~88% reduction).