-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
area-System.DirectoryServiceshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue
Milestone
Description
In PowerShell repo we started porting Microsoft.PowerShell.LocalAccounts module to System.DirectoryServices.AccountManagement API (from p/invokes).
We had to use workarounds because Principal.FindByIdentity() methods is extremely slow - up to 100x(!) vs Principal.PrincipalSearcher().
On my notebook Get-LocalUser name
ported cmdlet takes 2.8 sec(!) vs 25 ms if a workaround is used.
Metadata
Metadata
Assignees
Labels
area-System.DirectoryServiceshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue