>
> Do you have performance meassurements for your use case?

Yes, we did some benchmarks with a home-made agent that did function-level
instrumentation.
The instrumentation overhead was anywhere from 2x to 5x with
instruction-level coverage than function-level coverage.

On Tue, Oct 19, 2021 at 5:56 PM Marc Hoffmann <hoffm...@mountainminds.com>
wrote:

> Dear Antoine,
>
> adding different counters is actually not supported.
>
> Maintaining different instrumentation/analysis strategies is something
> we‘re actually not looking for.
>
> Do you have performance meassurements for your use case?
>
> Best regards,
> -marc
>
> On 19. Oct 2021, at 17:16, 'Antoine Baudoux' via JaCoCo and EclEmma Users <
> jacoco@googlegroups.com> wrote:
>
> 
> By "method level coverage" I mean only adding one counter, one instruction
> at the start of each method to check if the method was called or not. And
> not adding any branch counter, so that there is less instrumentation
> overhead.
> I did not see a way to do that, if it is already supported I'm sorry about
> the confusion.
>
> Kind regards,
>
> Antoine
>
>
> On Tue, Oct 19, 2021 at 5:11 PM Marc Hoffmann <hoffm...@mountainminds.com>
> wrote:
>
>> Dear Antoine,
>>
>> JaCoCo already supports method level coverage.
>>
>> What exactly is the performance problem that requires a different
>> implementation?
>>
>> In general we’re very reluctant to such configuration options as they
>> require different implementations for the whole path: Instrumentation, exec
>> files and analysis. And of course causes more questions by users that get
>> these configuration options wrong...
>>
>> Regards,
>> -marc
>>
>>
>>
>> On 9. Oct 2021, at 12:33, 'Antoine Baudoux' via JaCoCo and EclEmma Users <
>> jacoco@googlegroups.com> wrote:
>>
>> Hello,
>>
>> Would you welcome a contribution to add method-level coverage?
>> Method-level coverage (as opposed to line-level, the current default mode
>> for JaCoCo) can be useful to track dead code, i.e. methods that never get
>> called.
>>
>> It has lower overhead and therefore could be enabled continuously for
>> code running in production, allowing for dead code detection and removal.
>>
>> If you think that it could be added to the JaCoCo codebase I would be
>> happy to contribute. Please let me know your thoughts.
>>
>> Kind regards,
>>
>> Antoine
>>
>>
>> --
>> 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 jacoco+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jacoco/e6da49e8-56a9-4c14-9e9d-fdea4c152349n%40googlegroups.com
>> <https://groups.google.com/d/msgid/jacoco/e6da49e8-56a9-4c14-9e9d-fdea4c152349n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> --
>> 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 jacoco+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jacoco/11BDA5D5-887C-4937-BADE-3EE7DF9D84F9%40mountainminds.com
>> <https://groups.google.com/d/msgid/jacoco/11BDA5D5-887C-4937-BADE-3EE7DF9D84F9%40mountainminds.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/CADFGoLKzaShAcuPWF6fp_U9UYom93Zgw7PzacM37-UtvA7LBbg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jacoco/CADFGoLKzaShAcuPWF6fp_U9UYom93Zgw7PzacM37-UtvA7LBbg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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 jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/5C499517-6BB3-40E0-AA57-0AB68F80D6D5%40mountainminds.com
> <https://groups.google.com/d/msgid/jacoco/5C499517-6BB3-40E0-AA57-0AB68F80D6D5%40mountainminds.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/CADFGoLLDcycVTEYBoTjeyin%3D0C6JK0ermBTuoKta3ZR91UrSqw%40mail.gmail.com.

Reply via email to