FiloSottile / mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.
https://mkcert.dev
BSD 3-Clause "New" or "Revised" License
49.13k stars 2.54k forks source link

Very slow performance of mkcert -CAROOT on fish shell #283

Open james2doyle opened 4 years ago

james2doyle commented 4 years ago
❯ time mkcert -CAROOT                                                                                           10:57:28
/Users/myuser/Library/Application Support/mkcert

________________________________________________________
Executed in  851.95 millis    fish           external
   usr time  483.51 millis  109.00 micros  483.40 millis
   sys time  336.20 millis  460.00 micros  335.74 millis

Not really sure what is going on but taking almost 500ms to return a directory path seems really slow.

Any thoughts on this?

FiloSottile commented 4 years ago

Do you have Homebrew in a non-standard path? All that time might be spent just running brew :(

Could you run it under dtruss?

james2doyle commented 4 years ago

No, just the default installation.

dtrace-mkcert-caroot.txt

☝️ here ya go!