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

Re: [PATCH] Speed up commands that use rev-list when max-count is specified.

From
BMBenjamin Meyer <ben@meyerhome.net>
Date
Mar 21, 2010, 16:57 UTC
Message-ID
<10BD5DAD-16FB-40FB-A77B-955EA0ECD4CB@meyerhome.net>
In-Reply-To
<fabb9a1e1003210412n58a3b951x1de4543f11b888c4@mail.gmail.com>
In the git repo a more extreme case doing something like git log -1 copy.c the patch will reduce the runtime by 70%.  Running it on every top level file in git ('for f in *; log -1 $f; done') goes from 9 minutes to 8:30.
-Benjamin Meyer
On Mar 21, 2010, at 7:12 AM, Sverre Rabbelier wrote:
Show 15 quoted lines
> Heya,
> 
> On Sun, Mar 21, 2010 at 04:31, Benjamin C Meyer <bmeyer@rim.com> wrote:
>> Depending on the use case this can have a big impact on the running time.
> 
> Sounds promising, do you have any numbers?
> 
> -- 
> Cheers,
> 
> Sverre Rabbelier
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Sverre RabbelierNext: Mark Lodato
Message 3 of 4 in “Speed up commands that use rev-list when max-count is specified.”
  1. Speed up commands that use rev-list when max-count is specified.Benjamin C Meyer, Mar 21, 2010
  2. Sverre RabbelierMar 21, 2010
  3. Benjamin MeyerMar 21, 2010
  4. Mark LodatoMar 21, 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.