mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Olsa <jolsa@redhat.com>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	Namhyung Kim <namhyung@kernel.org>
Subject: Re: [PATCH v3 1/4] perf diff: color the Delta column
Date: Fri, 29 Nov 2013 14:44:10 +0100	[thread overview]
Message-ID: <20131129134410.GB25751@krava.brq.redhat.com> (raw)
In-Reply-To: <CALkWK0nr9v5P5sO6UDCMr73i5r+PYaS1Da8vST9aUcHZnqv8JQ@mail.gmail.com>

On Thu, Nov 28, 2013 at 10:54:25PM +0530, Ramkumar Ramachandra wrote:
> Jiri Olsa wrote:
> > these colors are not consistent with colors in baseline,
> > moreover all negative values are shown as red
> >
> > - please check get_percent_color function (used for baseline),
> >   it checks the percentage against following values:
> >
> >   #define MIN_GREEN       0.5
> >   #define MIN_RED         5.0
> 
> That was intentional. If you want colors that are consistent with the
> baseline, what do we do about [4/4], where wdiff numbers can be huge?
> (currently I use [green, red] for [positive, negative] there too)

you're, ratio and wdiff need special treatment..

but I expect delta to be have same colors as baseline
(regardless of the +-)

thanks,
jirka

  reply	other threads:[~2013-11-29 13:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 11:02 [PATCH v3 0/4] More color in 'perf diff' Ramkumar Ramachandra
2013-11-27 11:02 ` [PATCH v3 1/4] perf diff: color the Delta column Ramkumar Ramachandra
2013-11-28 15:07   ` Jiri Olsa
2013-11-28 17:24     ` Ramkumar Ramachandra
2013-11-29 13:44       ` Jiri Olsa [this message]
2013-11-27 11:02 ` [PATCH v3 2/4] perf diff: generalize hpp__color_delta for -c Ramkumar Ramachandra
2013-11-28 15:08   ` Jiri Olsa
2013-11-28 17:26     ` Ramkumar Ramachandra
2013-11-27 11:02 ` [PATCH v3 3/4] perf diff: color the Ratio column Ramkumar Ramachandra
2013-11-27 11:02 ` [PATCH v3 4/4] perf diff: color the Weighted Diff column Ramkumar Ramachandra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131129134410.GB25751@krava.brq.redhat.com \
    --to=jolsa@redhat.com \
    --cc=acme@redhat.com \
    --cc=artagnon@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=namhyung@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®