Add test to validate loaded assemblies and libraries on startup#8331
Add test to validate loaded assemblies and libraries on startup#8331SteveL-MSFT wants to merge 5 commits intoPowerShell:masterfrom
Conversation
f954c20 to
5d340e7
Compare
5d340e7 to
a2addf2
Compare
|
seems that 'System.Collections.Immutable.dll' is still being loaded on startup |
|
'System.Security.Cryptography.Algorithms.dll' also is still being loaded |
|
'System.Security.Permissions.dll' is also being loaded on Windows |
|
For |
|
@SteveL-MSFT The additional loaded assemblies are resulted by the profile optimization configured in powershell. The file I updated the tests, and also made a change to correct the folder to store the 'StartupProfileData' files. |
PR Summary
Assemblies loaded on startup impact startup time. Sometimes we merge a commit that uses a new type that adds loading a new assembly on startup. We need to catch these and decide if it's worth the impact or delay loading when possible. There's some in this list that appear like they can be delay loaded.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests