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

Re: [PATCH] git-notes: Run partial expensive test everywhere

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Aug 10, 2010, 20:29 UTC
Message-ID
<AANLkTim2tozO31HKLwxi6kWyZKYMd9egDhS5U_gb5OvZ@mail.gmail.com>
In-Reply-To
<1281470164-27008-1-git-send-email-avarab@gmail.com>
Heya,
On Tue, Aug 10, 2010 at 14:56, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> The git-notes expensive timing test is only expensive because it
> either did 1k iterations or nothing. Change it to do 10 by default,
> with an option to run the expensive version with the old
> GIT_NOTES_TIMING_TESTS=ZomgYesPlease variable.
Nice, why 10 though? Any motivation for that particular value?
> Since nobody was ostensibly running this test under TAP the code had
> bitrotted so that it emitted invalid TAP. This change fixes that.
Nice catch.
> The old version would also mysteriously fail on systems without
> /usr/bin/time, there's now a check for that using the test
> prerequisite facility.
Should this patch be split up?
-- 
Cheers,

Sverre Rabbelier
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 9 in “git-notes: Run partial expensive test everywhere”
  1. git-notes: Run partial expensive test everywhereÆvar Arnfjörð Bjarmason, Aug 10, 2010
  2. Sverre RabbelierAug 10, 2010
  3. Ævar Arnfjörð BjarmasonAug 10, 2010
  4. Ævar Arnfjörð BjarmasonAug 10, 2010
  5. git-notes: Run partial expensive test everywhereÆvar Arnfjörð Bjarmason, Aug 10, 2010
  6. Ævar Arnfjörð BjarmasonAug 19, 2010
  7. Jonathan NiederAug 24, 2010
  8. Junio C HamanoAug 24, 2010
  9. Ævar Arnfjörð BjarmasonAug 29, 2010

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.