Comment

Comment by mpweiher

Conceptually, Powershell is really cool.

But in practice, I find it both cumbersome and very, very slow.

For example:

   marcel@vger[Downloads]time pwsh -c 'ls' >/dev/null 

   real	0m0.824s
   user	0m0.636s
   sys	0m0.213s
   marcel@vger[Downloads]time sh -c 'ls' >/dev/null 

   real	0m0.011s
   user	0m0.003s
   sys	0m0.005s
   marcel@vger[Downloads]
   
That's around a factor 80. Hmm. OK, startup costs, JITs hard time, yadda yadda.

But it's not just that. For example I found a simple

    dir -r
to be more around 50x slower than the equivalent

     ls -lR
And so on.
parent mpweiher 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton