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

Performance on Windows (msysgit) with latest patches

From
Marius Storm-Olsen <marius@trolltech.com>
Date
Aug 14, 2007, 09:18 UTC
Message-ID
<46C1735C.4050701@trolltech.com>
Hi,

After all the performance patches that has been commited to the git.git/master branch, I figured it would be interesting to check out how it would affect times on Windows. So, I merged the git.git/master branch into the 4msysgit.git/next branch and ran the scripts which Moe provided. The result you'll find below.

git-status got a 1.6X speed-up, and git-commit on a single file got a 2.5X speed-up. However, git-add and git-commit of all 100K files got a slight slowdown.

Before                        After
performance patches           performance patches
-------------------------     -------------------------
Command: git init             Command: git init
-------------------------     -------------------------

real 0m0.031s real 0m0.032s user 0m0.031s user 0m0.015s sys 0m0.000s sys 0m0.015s

-------------------------     -------------------------
Command: git add .            Command: git add .
-------------------------     -------------------------

real 0m19.328s real 0m20.204s user 0m0.015s user 0m0.015s sys 0m0.015s sys 0m0.000s

-------------------------     -------------------------
Command: git commit -a...     Command: git commit -a...
-------------------------     -------------------------

real 0m30.937s real 0m31.328s user 0m0.015s user 0m0.015s sys 0m0.015s sys 0m0.015s

------------------------- ------------------------- 3x Command: git-status 3x Command: git-status ------------------------- -------------------------

real 0m19.531s real 0m12.016s user 0m0.211s user 0m0.274s sys 0m0.136s sys 0m0.091s

real 0m19.532s real 0m12.016s user 0m0.259s user 0m0.242s sys 0m0.091s sys 0m0.137s

real 0m19.593s real 0m12.000s user 0m0.211s user 0m0.227s sys 0m0.152s sys 0m0.090s

-------------------------     -------------------------
Command: git commit...        Command: git commit...
          (single file)                 (single file)
-------------------------     -------------------------

real 0m36.688s real 0m14.640s user 0m0.031s user 0m0.015s sys 0m0.000s sys 0m0.000s

Total time --------------     Total time --------------
Real time:     2m 25.703s     Real time:     1m 42.358s
- User time:   0m  0.031s     - User time:   0m  0.015s
- Kernel time: 0m  0.031s     - Kernel time: 0m  0.078s
= Idle time:   2m 25.640s     = Idle time:   1m 42.264s
-------------------------     -------------------------

-- .marius

Next: Linus Torvalds
Message 1 of 2 in “Performance on Windows (msysgit) with latest patches”
  1. Marius Storm-OlsenAug 14, 2007
  2. Linus TorvaldsAug 14, 2007

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.