git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v1 0/2] perf/aggregate: sort result by regression

From
Christian Couder <christian.couder@gmail.com>
Date
Mar 24, 2018, 07:05 UTC
Message-ID
<CAP8UFD0-GnYtSwNSxM5YQdD+0qAS6R9yW0kFa_88-0Drs2N1ng@mail.gmail.com>
In-Reply-To
<xmqq7eq2ijc6.fsf@gitster-ct.c.googlers.com>
On Fri, Mar 23, 2018 at 10:16 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 21 quoted lines
> Christian Couder <christian.couder@gmail.com> writes:
>
>> This small patch series makes it easy to spot big performance
>> regressions, so that they can later be investigated.
>>
>> For example:
>>
>> $ ./aggregate.perl --sortbyregression --subsection "without libpcre" v2.14.3 v2.15.1 v2.16.2 p4220-log-grep-engines.sh
>
> Are we comfortable with the idea that other kinds of sorting, when
> invented in the future, would have to say
>
>     $ ./aggregate.perl --sortbysomethingelse --subsection "without libpcre" \
>         A B C p4220-log-grep-engines.sh
>
> or will we regret that and wish if we could write it as
>
>     $ ./aggregate.perl --sort-by=somethingelse --subsection "without libpcre" \
>         A B C p4220-log-grep-engines.sh
>
> If the latter, perhaps we should use --soft-by=regression from day one.

Yeah, I think it is probably better to use --sort-by=regression (not --soft-by ;-), so I will use that in the next version.

Show 11 quoted lines
> Do we expect that "taking a lot more more rtime than the previous"
> will stay to be the only kind of "regression" we care about in the
> context of t/perf?  If so, there is no need for further suggestion,
> but if not, perhaps we should plan if/how we could also parameterize
> the "rtime" part from the command line.  E.g.
>
>     $ ./aggregate.perl --sort-by=regression:stime
>
> might be a way to say "we only care about the stime part" in the
> future, even though --sort-by=regression may be a short-hand to say
> "we care about rtime regression" i.e. "--sort-by=regression:rtime".

Yeah, I think we can have the short form "--sort-by=regression" mean "--sort-by=regression:rtime" and skip implementing the long form. I will talk about the long form in the commit message.

Previous: Junio C Hamano
Message 6 of 6 in “perf/aggregate: sort result by regression”
  1. 0/2 perf/aggregate: sort result by regressionChristian Couder, Mar 23, 2018
  2. 1/2 perf/aggregate: add display_dir()Christian Couder, Mar 23, 2018
  3. 2/2 perf/aggregate: add --sortbyregression optionChristian Couder, Mar 23, 2018
  4. Christian CouderMar 23, 2018
  5. Junio C HamanoMar 23, 2018
  6. Christian CouderMar 24, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.