7 ms·
Eh, if you launch python in powershell there is still a loading delay, since powershell for some crazy reason takes like 30s to launch on a default win10 instal
by zrobotics 6y ago
Eh, if you launch python in powershell there is still a loading delay, since powershell for some crazy reason takes like 30s to launch on a default win10 installation.
- vetinari 6y agoYou must have something very wrong; neither Windows Powershell nor Powershell 7 takes 30s to launch. But anyway, for a quick calc, is there anything faster than Spotlight (for mac)/Gnome shell (for linux)/Powertoys Run (for windows)? Instead of app name you are going to launch, just punch in your expression.
- majkinetor 6y agoProbably very slow disk (VM?) or Windows Defender ? Or too much modules ?
- jermaustin1 6y agoAll this time I've been launching calculator and I could have just done it in spotlight... Why don't they tell you that after you've launched calculator for the 20th time in an hour.
- Narishma 6y agoNot the person you responded to but I have the same experience with Powershell as them. I just checked again to be sure and it takes 20s to start and become usable on my laptop. CMD.EXE, in comparison, starts instantly.
- Shared404 6y agoI'll be the next to confirm this, and on multiple machines. Maybe 1 in 5 that I try will be a reasonable startup time.
- vetinari 6y agoThat's interesting, it seems quite widespread. I'm getting 1-2s on my machines, both just plain powershell and powershell inside windows terminal. No enterprise crap running though, just Defender.
- Shared404 6y agoIt got bad enough I wrote a (now unused) script in batch instead of Powershell. Also having to explicitly enable scripting for each machine was a pain, though understandable.
- cptskippy 6y agoI shudder to think what you're running Windows 10 on because it only takes 2 seconds to come up on this Celeron 2957U I'm using to browse the internet.
- Jtsummers 6y agoIf it's a corporate system like my (presently only) Windows machine then I wouldn't be surprised. They manage to configure these things so they're as fast as a Pentium 133MHz processor from 25 years ago, even though you've got an 8-core i7 with 32GB of RAM.
- cptskippy 6y agoI wouldn't either, our devs were given the standard issue Lenovo T480 which would have been mostly fine were it not for the fact that we had Raytheon ForcePoint DLP, LANDesk, Trend Micro Apex, WebSense, Cisco Amp, Cisco Umbrella, and who knows what else watching everything we did. It took upgrading to i9s to get something that could run Teams and Outlook at the same time without audio stuttering during a voice call.
- yakubin 6y agoI'm running Windows 10 on a Ryzen 5 with 16GB of RAM and an NVMe drive. Powershell takes something between 0.5 to 1 second to start. The first ~20-30 seconds after the start it feels sluggish when doing simple tasks like listing directory contents. It makes it very unpleasant to use.
- CamperBob2 6y agoSluggish behavior during and just after Windows startup is sometimes caused by mapped network drives that no longer resolve. Worth checking if you haven't already.
- yakubin 6y agoI'm talking about Powershell startup, not Windows startup.
- deleted 6y ago[deleted]
- zokier 6y agowhy would you launch powershell to launch python? you can just launch python directly?
- swiley 6y agopowershell is slow, just use a console window. Or maybe starting anything on modern windows is slow.
- astura 6y agoHuh? I use powershell every single day at work and it loads instantly for me.