-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Revert #40641 #41817
Revert #40641 #41817
Conversation
Reverts "Ensure FileStatus and FileSystemEntry Hidden and ReadOnly attributes are retrieved the same way" (commit 6ed1e41) which introduced a perf regression.
/backport to release/5.0-rc2 |
Started backporting to release/5.0-rc2: https://github.com/dotnet/runtime/actions/runs/238165020 |
Is this revert in master necessary? Can we work on addressing the perf regression on top of this, without having to remove the commit? |
I have a slight preference to make the revert and get to a good baseline before attempting the fix again, but I defer to you and @adamsitnik for your recommendation. |
Ok no problem @jeffhandley. I can get it in a new PR, with the fix. |
Sounds good, @carlossanlop; thanks. And there's no urgency on it now--we can just reopen the original issue into the 6.0.0 milestone and have it in the backlog. |
sounds good to me 👍 |
Fixes #41739
Reverts PR #40641 - "Ensure FileStatus and FileSystemEntry Hidden and ReadOnly attributes are retrieved the same way" which introduced a perf regression on Unix in
Directory.EnumerateFiles
.