]> git.proxmox.com Git - libgit2.git/commit
Improvements to status performance on Windows.
authorJ Wyman <jeremy.wyman@microsoft.com>
Thu, 26 Mar 2015 22:10:24 +0000 (18:10 -0400)
committerEdward Thomson <ethomson@microsoft.com>
Tue, 28 Apr 2015 18:25:02 +0000 (14:25 -0400)
commit1920ee4ef6096f888a9bb19bc329424d2c7ee656
treec3c3c5f7c734440389d12da5a64158ed6e52e6e8
parent4c09e19a3764a1e5f3340dabf8104dfed32e7673
Improvements to status performance on Windows.

Changed win32/path_w32.c to utilize NTFS' FindFirst..FindNext data instead of doing an lstat per file. Avoiding unnecessary directory opens and file scans reduces IO, improving overall performance. Effect is magnified due to NTFS being a kernel mode file system (as opposed to user mode).
src/iterator.c
src/win32/path_w32.c
src/win32/path_w32.h
src/win32/posix.h
src/win32/posix_w32.c