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

Enable git preloadindex by default. #8

Merged
merged 1 commit into from
Apr 4, 2017
Merged

Conversation

grayside
Copy link
Contributor

@grayside grayside commented Apr 1, 2017

The git configuration setting makes commands such as git status and git diff faster by using threads for concurrent IO. This is massively helpful when running git commands over NFS, such as via a Docker container with NFS volume mounts.

In the example of a relatively basic Drupal 8 site it took git status down from 16 seconds to 3 seconds.

Furthermore, Linus has suggested this should be the default enabled setting, if only the availability of functional threading could be guaranteed.

@grayside grayside requested a review from febbraro April 1, 2017 04:20
@febbraro febbraro merged commit 7ad211e into php70 Apr 4, 2017
@febbraro febbraro deleted the php-70/git-preloadindex branch April 4, 2017 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants