Hi Mario,

from the APIs you're refering to I assume you're talking about the EclEmma Eclipse plug-in, right?

Displaying coverage information within Eclipse needs two steps:

1) Requesting a execution data dump from the SUT JVM. This should typically take a few milliseconds 2) Analyzing the coverage session, which involves traversing all classes in your workspace depending on the session scope. Depending on the number of projects/classes in scope this may take up to a minute.

Not sure what time (1 or 2) you're exactly meassuring. But even if you meassure 1) the analysis might eat a lot CPU as new sessions are automatically activated. This can be disabled in the EclEmma preferences.

Regards,
-marc

On 28.09.15 11:07, Mario Ackerl wrote:
Hello together,

currently I am looking for ways to increase the performance of our Project, if coverage of the junit tests is being collected. Unfortunately my measurement results show, that we spend nearly all of the time with requesting dumps.

For example: a suite with 60 Tests performing in 200 ms in an normal environment, takes 10,5 seconds in an environment, where code coverage is collected, but 10,25 seconds of that time were spent between:

ICoverage.requestDump
ISessionListener.sessionAdded

see my last question: https://groups.google.com/forum/#!searchin/jacoco/IsessionListener/jacoco/QBUVXAjS1js/EPck1Y5LYZIJ

Is there a way to increase the performance of the dump?

Best Regards

Mario
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/723ae91c-d98d-4464-bd5b-1be09ed270b8%40googlegroups.com <https://groups.google.com/d/msgid/jacoco/723ae91c-d98d-4464-bd5b-1be09ed270b8%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/56095C3F.3050700%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to