16 ms·
C:\dev> (Measure-Command { pwsh -c exit }).TotalMilliseconds 1394.1826 C:\dev> (Measure-Command { pwsh -noprofile -c exit }).TotalMilliseconds 247.4
by moogly 4y ago
C:\dev> (Measure-Command { pwsh -c exit }).TotalMilliseconds
1394.1826
C:\dev> (Measure-Command { pwsh -noprofile -c exit }).TotalMilliseconds
247.4816
Non-cold start on a 14-core Skylake-X. Drives me nuts.
- pjmlp 4y agoIf you are restarting your PowerShell session all the time, you must be really busy. /s
- DeathArrow 4y agoOn mine: (Measure-Command { powershell(Measure-Command { powershell -c exit }).TotalMilliseconds 768.5885 (Measure-Command { powershell -noprofile -c exit }).TotalMilliseconds 113.3157
- animesh 4y agoOn an i7-8700 w Kingston NVMe: PS C:\Users\me> (Measure-Command { pwsh -c exit }).TotalMilliseconds 265.3785 PS C:\Users\me> (Measure-Command { powershell -noprofile -c exit }).TotalMilliseconds 119.481
- kaba0 4y agoWhy isn’t there a constantly running daemon, making the actual binary run as a shell be a tiny executable doing some network calls only?
- goodguyamerikan 4y agoThere was a discussion around that but that was scuttled because aot was com inng up