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

[PATCH 0/2] Speedup fetch with large numbers of refs

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Oct 22, 2009, 21:06 UTC
Message-ID
<20091022210444.18084.61685.julian@quantumfyre.co.uk>

These two commits make fetch quite a bit faster when dealing with large numbers of refs. Unfortunately I've lost the exact figures, but my silly test respository (50000 tags, 1 branch) went from something like 30s for a "fetch --tags" that did nothing, to about 5.

Julian Phillips (2):
  remote: Make ref_remove_duplicates faster for large numbers of refs
  fetch: Speed up fetch of large numbers of refs
 builtin-fetch.c |   17 ++++++++++++++---
 remote.c        |   39 +++++++++++++++++++++------------------
 2 files changed, 35 insertions(+), 21 deletions(-)
Next: Julian Phillips
Message 1 of 5 in “Speedup fetch with large numbers of refs”
  1. 0/2 Speedup fetch with large numbers of refsJulian Phillips, Oct 22, 2009
  2. 1/2 remote: Make ref_remove_duplicates faster for large numbers of refsJulian Phillips, Oct 22, 2009
  3. 2/2 fetch: Speed up fetch of large numbers of refsJulian Phillips, Oct 22, 2009
  4. Junio C HamanoOct 25, 2009
  5. Julian PhillipsOct 25, 2009

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.