Skip to content

Conversation

@carlossanlop
Copy link
Contributor

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.

Reverts "Ensure FileStatus and FileSystemEntry Hidden and ReadOnly attributes are retrieved the same way"
(commit 6ed1e41) which introduced a perf regression.
@carlossanlop
Copy link
Contributor Author

/backport to release/5.0-rc2

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2020

@carlossanlop
Copy link
Contributor Author

Is this revert in master necessary? Can we work on addressing the perf regression on top of this, without having to remove the commit?

@jeffhandley
Copy link
Member

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.

@carlossanlop
Copy link
Contributor Author

Ok no problem @jeffhandley. I can get it in a new PR, with the fix.

@carlossanlop carlossanlop merged commit 1d17ce6 into dotnet:master Sep 4, 2020
@carlossanlop carlossanlop deleted the revert branch September 4, 2020 00:40
@jeffhandley
Copy link
Member

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.

@adamsitnik
Copy link
Member

I can get it in a new PR, with the fix.

sounds good to me 👍

@adamsitnik adamsitnik added this to the 5.0.0 milestone Sep 4, 2020
@adamsitnik adamsitnik added the tenet-performance Performance related issue label Sep 4, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.IO tenet-performance Performance related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Unix] Potential performance regression in Directory.EnumerateFiles

4 participants