Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed numbers. The cause is what you suspected: on stock macOS /home is an autofs mount, so every lookup under it goes to the automounter, which finds nothing and returns "not found". mise canonicalizes each trusted_config_paths entry when it checks a config, so each /home/... entry costs one of those round trips (~17–20ms), and hook-env does it on every prompt. Using ~/... instead, as you found, avoids it entirely.

I opened #14875 to cut the cost where mise can:

  • trusted_config_paths is now checked after the cheaper trust rules (global config, a mise trust record, a monorepo marker), so configs trusted another way skip it.
  • Entries are compared as written before any are …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joshuataylor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants