Re: [PATCH 15/15] perf tools: Support spark lines in perf stat

From: Peter Zijlstra
Date: Tue Jun 10 2014 - 03:37:52 EST


On Tue, Jun 10, 2014 at 07:04:43AM +0200, Ingo Molnar wrote:
> > Example output (view in non-proportial font):
> >
> > Performance counter stats for 'true' (10 runs):
> >
> > 0.175672 task-clock (msec) # 0.555 CPUs utilized ( +- 1.77% ) ââââââââ..
> > 0 context-switches # 0.000 K/sec
> > 0 cpu-migrations # 0.000 K/sec
> > 114 page-faults # 0.647 M/sec ( +- 0.14% ) ââââââââ..
> > 520,798 cycles # 2.965 GHz ( +- 1.75% ) ââââââââ..
> > 433,525 instructions # 0.83 insns per cycle ( +- 0.28% ) ââââââââ..
> > 83,012 branches # 472.537 M/sec ( +- 0.31% ) ââââââââ..
> > 3,157 branch-misses # 3.80% of all branches ( +- 2.55% ) ââââââââ..
> >
> > 0.000316660 seconds time elapsed ( +- 1.78% ) ââââââââ..
>
> The noise data is not aligned vertically in the changelog - is it in
> the real code? It should be.

I still dislike those spark lines, I still think they should plot the
distribution and not just the first 8 or so values.

Attachment: pgp2QbSkEllaX.pgp
Description: PGP signature