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

Re: [PATCH] test-lib.sh: unfilter GIT_PERF_*

From
Duy Nguyen <pclouds@gmail.com>
Date
Jan 15, 2013, 13:47 UTC
Message-ID
<CACsJy8BaPfiHL86uh8QOKXzBXb3eKiRnN1MV0e8WegsFzodWHQ@mail.gmail.com>
In-Reply-To
<87ehhmr28g.fsf@pctrast.inf.ethz.ch>
On Tue, Jan 15, 2013 at 8:43 PM, Thomas Rast <trast@student.ethz.ch> wrote:
Show 20 quoted lines
> Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
>
>> These variables are user parameters to control how to run the perf
>> tests. Allow users to do so.
> [...]
>> @@ -86,6 +86,9 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
>>               PROVE
>>               VALGRIND
>>               PERF_AGGREGATING_LATER
>> +             PERF_LARGE_REPO
>> +             PERF_REPEAT_COUNT
>> +             PERF_REPO
>>       ));
>
> Wouldn't it be more futureproof to put simply PERF as an entry, and rely
> on the leading-match logic
>
>>       my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
>
> to allow all GIT_PERF variables?
Yeah.
> Other than that, Ack.  I never noticed because I set mine through
> config.mak, which goes to GIT-BUILD-OPTIONS.  Those options are not
> exported, which means perl does not pick them up.  (That just took me
> far too long to realize.)

By the way is there an option to skip the first few runs (too lazy to check out the source code, apparently)? I tried linux-2.6 as the large repo and I think the first (cold cache) run ruins the numbers.

-- 
Duy
Previous: Thomas RastNext: Nguyễn Thái Ngọc Duy
Message 3 of 7 in “test-lib.sh: unfilter GIT_PERF_*”
  1. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 15, 2013
  2. Thomas RastJan 15, 2013
  3. Duy NguyenJan 15, 2013
  4. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 15, 2013
  5. Junio C HamanoJan 15, 2013
  6. test-lib.sh: unfilter GIT_PERF_*Nguyễn Thái Ngọc Duy, Jan 16, 2013
  7. Jonathan NiederJan 16, 2013

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.