[GH-ISSUE #283] Very slow performance of mkcert -CAROOT on fish shell #184

Open
opened 2026-02-25 22:32:49 +03:00 by kerem · 2 comments
Owner

Originally created by @james2doyle on GitHub (Aug 4, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/283

❯ 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?

Originally created by @james2doyle on GitHub (Aug 4, 2020). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/283 ``` ❯ 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?
Author
Owner

@FiloSottile commented on GitHub (Oct 25, 2020):

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

Could you run it under dtruss?

<!-- gh-comment-id:716185710 --> @FiloSottile commented on GitHub (Oct 25, 2020): Do you have Homebrew in a non-standard path? All that time might be spent just running `brew` :( Could you run it under dtruss?
Author
Owner

@james2doyle commented on GitHub (Oct 26, 2020):

No, just the default installation.

dtrace-mkcert-caroot.txt

☝️ here ya go!

<!-- gh-comment-id:716643033 --> @james2doyle commented on GitHub (Oct 26, 2020): No, just the default installation. [dtrace-mkcert-caroot.txt](https://github.com/FiloSottile/mkcert/files/5439887/dtrace-mkcert-caroot.txt) ☝️ here ya go!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#184
No description provided.