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

[PATCH/RFC v2 0/3] git checkout optimisation - part 3

From
KBKjetil Barvik <barvik@broadpark.no>
Date
Feb 19, 2009, 20:08 UTC
Message-ID
<cover.1235071656.git.barvik@broadpark.no>

Changes sine v1 (v1 was posted with subject "The ext4 filesystem and racy git")

-- patch 2/3 --
   Added missing timestamp => timestamp.(u)sec update for
   unpack-trees.c
-- patch 3/3 --
   New patch which removes some 14300 lstat(2) calls, and the total is
   now at 41677 calls, or 1.382 calls/unique string to lstat() for the
   reference 'git checkout'-test to Linux tag v2.6.27.
   Total reduction so far for all the lstat/git checkout optimisation
   patches has been 120954 - 41677 = 79277 calls.  Some 14400 fstat(2)
   calls is added, but those should be faster than simmilar lstat()
   calls.
(patch-series based on master)
Kjetil Barvik (3):
  fix compile error when USE_NSEC is defined
  make USE_NSEC work as expected
  verify_uptodate(): add ce_uptodate(ce) test
 builtin-fetch-pack.c |    4 +-
 cache.h              |    6 ++--
 read-cache.c         |   70 ++++++++++++++++++++++++++++++++++++++++----------
 unpack-trees.c       |   10 +++++--
 4 files changed, 68 insertions(+), 22 deletions(-)
Next: Kjetil Barvik
Message 1 of 10 in “git checkout optimisation - part 3”
  1. 0/3 git checkout optimisation - part 3Kjetil Barvik, Feb 19, 2009
  2. 1/3 fix compile error when USE_NSEC is definedKjetil Barvik, Feb 19, 2009
  3. 2/3 make USE_NSEC work as expectedKjetil Barvik, Feb 19, 2009
  4. Junio C HamanoFeb 20, 2009
  5. Kjetil BarvikFeb 20, 2009
  6. Junio C HamanoFeb 21, 2009
  7. 3/3 verify_uptodate(): add ce_uptodate(ce) testKjetil Barvik, Feb 19, 2009
  8. Junio C HamanoFeb 20, 2009
  9. Kjetil BarvikFeb 20, 2009
  10. Sverre RabbelierFeb 20, 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.