Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkout.c: enable fscache for checkout_entry #1419

Merged
merged 1 commit into from
Jan 3, 2018

Commits on Jan 3, 2018

  1. checkout.c: enable fscache for checkout_entry

    This is to speed up git checkout for directory in very large repositories.
    
    Taking file stats while directory traversing is faster than
    stating to each files on windows.
    
    `git checkout .` in master branch of chromium repositry, having 284659 files,
    takes more than 18 seconds.
    This patch improved the time to around 4 seconds on my SSD laptop.
    
    Signed-off-by: Takuto Ikuta <tikuta@chromium.org>
    Takuto Ikuta committed Jan 3, 2018
    Configuration menu
    Copy the full SHA
    5ee8200 View commit details
    Browse the repository at this point in the history