STAMP-project / test-runner

test driver to run JUnit tests isolated in a new JVM
GNU General Public License v3.0
16 stars 15 forks source link

Replace normal file usage with memory-mapped file #116

Closed andre15silva closed 3 years ago

andre15silva commented 3 years ago

This PR optimizes the inter-process communication between the main test-runner process and the forked one for test execution.

Running flacoco on math70 with this optimization reduces writing/reading time from ~25s to ~3s (~88% reduction).

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1117043532

Warning: This coverage report may be inaccurate.

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.

Details


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 Coverage Status
Change from base Build 1104335528: 1.1%
Covered Lines: 1064
Relevant Lines: 2298

💛 - Coveralls
andre15silva commented 3 years ago

Ready for review