Jenkins C++ profiling (performance) plug-in

368 views
Skip to first unread message

OnaBai

unread,
May 29, 2014, 6:34:03 AM5/29/14
to jenkin...@googlegroups.com
I'm looking for some Jenkins plugin that takes the output of gprof and present the results in Jenkins. Something like Cobertura does for gcov. Is there anything like this?
Is there any way for presenting C++ performance (profiling) results in Jenkins?

Thanks in advance

Roman

unread,
May 29, 2014, 7:45:12 AM5/29/14
to jenkin...@googlegroups.com
Hi,
I use html report generated by lcov/HTML Publisher for details and
dbCharts for high-level graphs.
Cobertura for gcov is not so good choice, it is pretty unclean how
correctly intepret 'Packages', 'Files' and 'Classes' especially for C.
In same time lcov covers 'Functions' metrics and have annotated sources
with touch counters per line.
I planned to use same solution for c performance report.

--
Thanks,
Roman
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-de...@googlegroups.com
> <mailto:jenkinsci-de...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

OnaBai

unread,
May 29, 2014, 7:53:17 AM5/29/14
to jenkin...@googlegroups.com
Does lcov show metrics as execution time?
Cobertura show how many times each function, line,... is executed but doesn't show times, is it available with lcov?

Regards

Roman

unread,
May 29, 2014, 10:09:09 AM5/29/14
to jenkin...@googlegroups.com
No, lcov doesn't support it, you asking about metrics which is not a
part of coverage report. We planned to use perf and additional scripts
for profiling visualization.

PS
I checked gcovr and see that it is really improved in last 2 years and
now support about all features of gcov.

--
Thanks,
Roman

On 05/29/2014 03:53 PM, OnaBai wrote:
> Does lcov show metrics as execution time?
> Cobertura show how many times each function, line,... is executed but
> doesn't show times, is it available with lcov?
I haven't see it for C.
>
> Regards
>
>
> On Thursday, May 29, 2014 1:45:12 PM UTC+2, Roman wrote:
>
> Hi,
> I use html report generated by lcov/HTML Publisher for details and
> dbCharts for high-level graphs.
> Cobertura for gcov is not so good choice, it is pretty unclean how
> correctly intepret 'Packages', 'Files' and 'Classes'
> especially for C.
> In same time lcov covers 'Functions' metrics and have annotated sources
> with touch counters per line.
> I planned to use same solution for c performance report.
>
> --
> Thanks,
> Roman
>
> On 05/29/2014 02:34 PM, OnaBai wrote:
> > I'm looking for some Jenkins plugin that takes the output of gprof
> and
> > present the results in Jenkins. Something like Cobertura does for
> gcov.
> > Is there anything like this?
> > Is there any way for presenting C++ performance (profiling)
> results in
> > Jenkins?
> >
> > Thanks in advance
>
lcov.png

OnaBai

unread,
May 29, 2014, 10:23:54 AM5/29/14
to jenkin...@googlegroups.com
Thank you Roman for your answers... So, as far as I understand, there is no solution for showing profiling (execution times) information in Jenkins so far. Correct?

Regards

Roman

unread,
May 29, 2014, 10:25:52 AM5/29/14
to jenkin...@googlegroups.com
I don't know that solution exclude integration third-party reports.
--
Thanks,
Roman
Reply all
Reply to author
Forward
0 new messages