Name: kbR10066 Date: 01/15/2003
It is a usual situation when a profiled app is run against a series of tests.
And each time a test finishes, current coverage file is read from disk,
merged with in-memory coverage an stored back to disk. This is either
done by JVMPI agent, instrumented app, or even by running a separate
merger command (especially when the test scales are needed).
This operation (merging) can be very time-consuming, espesially in case
of large coverage file. So it would be a good idea to implement a kind of
a "merge server" which would recieve data via a socket, and merge it
right in the memory. This scheme would eliminate:
1. Reading entire jcov file from disk
2. Parsing jcov file
3. Writing jcov file to disk (this would be done only once)
therefore significantly increasing testrun performance.
======================================================================