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

[PATCH v3 0/9] Speed up cache loading time

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jul 28, 2014, 12:03 UTC
Message-ID
<1406548995-28549-1-git-send-email-pclouds@gmail.com>

This is the polished version of v2 [1], rebased on master (now that split-index has graduated). I wanted to add some tests, but can't think of any way to do it (at least it won't work on Windows). Although with --strict turned on by default, it's less likely that bugs in index-helper could propagate far.

[1] http://article.gmane.org/gmane.comp.version-control.git/251186
Nguyễn Thái Ngọc Duy (9):
  trace.c: add GIT_TRACE_PACK_STATS for pack usage statistics
  read-cache.c: fix constness of verify_hdr()
  read-cache: allow to keep mmap'd memory after reading
  index-helper: new daemon for caching index and related stuff
  trace.c: add GIT_TRACE_INDEX_STATS for index  statistics
  index-helper: add --strict
  daemonize(): set a flag before exiting the main process
  index-helper: add --detach
  index-helper: add Windows support
 .gitignore                               |   1 +
 Documentation/git-index-helper.txt (new) |  56 +++++++
 Documentation/git.txt                    |   4 +
 Makefile                                 |   9 ++
 builtin/gc.c                             |   2 +-
 cache.h                                  |  11 +-
 config.mak.uname                         |   3 +
 daemon.c                                 |   2 +-
 git-compat-util.h                        |   1 +
 git.c                                    |   1 +
 index-helper.c (new)                     | 258 +++++++++++++++++++++++++++++++
 read-cache.c                             | 119 +++++++++++++-
 setup.c                                  |   4 +-
 sha1_file.c                              |  24 +++
 shm.c (new)                              | 163 +++++++++++++++++++
 shm.h (new)                              |  23 +++
 trace.c                                  |  16 ++
 trace.h                                  |   1 +
 18 files changed, 686 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/git-index-helper.txt
 create mode 100644 index-helper.c
 create mode 100644 shm.c
 create mode 100644 shm.h
-- 
2.1.0.rc0.66.gb9187ad
Next: Nguyễn Thái Ngọc Duy
Message 1 of 13 in “Speed up cache loading time”
  1. 0/9 Speed up cache loading timeNguyễn Thái Ngọc Duy, Jul 28, 2014
  2. 1/9 trace.c: add GIT_TRACE_PACK_STATS for pack usage statisticsNguyễn Thái Ngọc Duy, Jul 28, 2014
  3. 2/9 read-cache.c: fix constness of verify_hdr()Nguyễn Thái Ngọc Duy, Jul 28, 2014
  4. 3/9 read-cache: allow to keep mmap'd memory after readingNguyễn Thái Ngọc Duy, Jul 28, 2014
  5. 4/9 index-helper: new daemon for caching index and related stuffNguyễn Thái Ngọc Duy, Jul 28, 2014
  6. Eric SunshineJul 30, 2014
  7. Duy NguyenJul 30, 2014
  8. David TurnerJul 31, 2014
  9. 5/9 trace.c: add GIT_TRACE_INDEX_STATS for index statisticsNguyễn Thái Ngọc Duy, Jul 28, 2014
  10. 6/9 index-helper: add --strictNguyễn Thái Ngọc Duy, Jul 28, 2014
  11. 7/9 daemonize(): set a flag before exiting the main processNguyễn Thái Ngọc Duy, Jul 28, 2014
  12. 8/9 index-helper: add --detachNguyễn Thái Ngọc Duy, Jul 28, 2014
  13. 9/9 index-helper: add Windows supportNguyễn Thái Ngọc Duy, Jul 28, 2014

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.