![]() In the case of a profile, I’m optimizing for speed and, in some cases, making the script slightly harder to read as a tradeoff.įor production scripts used in automation, the micro performance improvement may not be worthwhile as maintainability of the script They won’t have significant overall impact and, in general, may not be the best way to write your scripts. It’s important to note that many of the optmizations I cover here are micro-optimizations. Spoiler: I’ll show how I got my profile loading time from 1465 ms to 217 ms! ![]() Your PowerShell session and runs at startup.Ĭomplex profiles can cause a significant delay in the startup of PowerShell as it is a script that needs to be executed before the prompt first Your PowerShell Profile allows you to customize
0 Comments
Leave a Reply. |