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

Re: Windows performance / threading file access

From
Duy Nguyen <pclouds@gmail.com>
Date
Oct 11, 2013, 05:48 UTC
Message-ID
<CACsJy8Db6Mg+Zg+E6qRLfsDyWsQcxGLV=RR=-XGHK1Wi6XpAzQ@mail.gmail.com>
In-Reply-To
<CAHOQ7J_sNnajm9M+QUd-QwkQGP2vOidzAW5_5EzsdwBGTDCnSA@mail.gmail.com>
On Fri, Oct 11, 2013 at 12:35 PM, Stefan Zager <szager@google.com> wrote:
> For my test, I first run 'git clone -n <repo>', and then measure the
> running time of 'git checkout --force HEAD'.  On linux, the checkout
> command runs in 0:12; on Windows, it's about 3:30.
try

git read-tree HEAD git ls-files | xargs -P=XXX -n=YYYY git checkout-index

That should give you a rough idea how much gain (or loss) by parallelization
-- 
Duy

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Previous: Stefan ZagerNext: pro-logic
Message 6 of 12 in “Windows performance / threading file access”
  1. Stefan ZagerOct 10, 2013
  2. Sebastian SchuberthOct 10, 2013
  3. Karsten BleesOct 11, 2013
  4. Stefan ZagerOct 11, 2013
  5. Stefan ZagerOct 11, 2013
  6. Duy NguyenOct 11, 2013
  7. pro-logicOct 15, 2013
  8. Karsten BleesOct 17, 2013
  9. pro-logicOct 21, 2013
  10. Karsten BleesOct 22, 2013
  11. Sebastian SchuberthOct 22, 2013
  12. Karsten BleesOct 22, 2013

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.