You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X:\Office\src>git config --unset core.virtualfilesystem
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:27 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:27 2021
TimeThis : End Time : Fri Oct 15 14:39:40 2021
TimeThis : Elapsed Time : 00:00:13.498
X:\Office\src>git config --add core.virtualfilesystem ""
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:43 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:43 2021
TimeThis : End Time : Fri Oct 15 14:39:46 2021
TimeThis : Elapsed Time : 00:00:02.831
X:\Office\src>git config --unset core.virtualfilesystem
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:59 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:39:59 2021
TimeThis : End Time : Fri Oct 15 14:40:13 2021
TimeThis : Elapsed Time : 00:00:13.408
X:\Office\src>git config --add core.virtualfilesystem ""
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:40:22 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:40:22 2021
TimeThis : End Time : Fri Oct 15 14:40:25 2021
TimeThis : Elapsed Time : 00:00:02.780
X:\Office\src>git config --unset core.virtualfilesystem
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:41:06 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:41:06 2021
TimeThis : End Time : Fri Oct 15 14:41:19 2021
TimeThis : Elapsed Time : 00:00:13.370
X:\Office\src>git config --add core.virtualfilesystem ""
X:\Office\src>timethis git status
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:41:26 2021
On branch namespace/mybranch Your branch is up to date with 'origin/namespace/mybranch'.
You are in a sparse checkout with 8% of tracked files present.
nothing to commit, working tree clean
TimeThis : Command Line : git status
TimeThis : Start Time : Fri Oct 15 14:41:26 2021
TimeThis : End Time : Fri Oct 15 14:41:28 2021
TimeThis : Elapsed Time : 00:00:02.759
What did you expect to occur after running these commands?
The git status performance to be ~2-3 seconds
What actually happened instead?
The git status performance is around ~13 seconds
If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
…once
Users are noticing slowdowns with things checking GIT_VIRTUALFILESYSTEM_TEST
environment multiple times. This is likely due to checking for the virtual
filesystem while engaging with the FS Monitor feature.
Use a `static` variable to avoid initializing these globals multiple times.
Resolves#450.
This reverts commit f55843a.
We are disabling the sparse index by default so we can take the latest
changes from the vfs-2.33.0 branch and cut a new release that should help
users affected by #450 (slow commands due to getting an environment
variable).
This commit represents an approach that would include shipping the latest FS
Monitor feature in addition to other installer fixes.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Setup
defaults?
to the issue you're seeing?
Scalar / sparse-checkout is being used.
Details
cmd
Minimal, Complete, and Verifiable example
this will help us understand the issue.
The git status performance to be ~2-3 seconds
The git status performance is around ~13 seconds
URL to that repository to help us with testing?
Office: Bug
The text was updated successfully, but these errors were encountered: