Potential performance regression in 2026.6.2: mise which resolves entire toolset and increases shell startup from ~2.5s to ~65s #10308
Unanswered
HYP3R00T
asked this question in
Troubleshooting and bug reports
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I believe I may have encountered a performance regression in
mise2026.6.2.After upgrading, my ZSH startup time increased from approximately 2-3 seconds to approximately 65 seconds. The only change was upgrading
mise.To investigate, I profiled shell startup using
zprof.The results suggested that repeated
miseinvocations became significantly more expensive after the upgrade. In my setup, this manifested as extremely slow shell startup because severalmisecommands are executed during shell initialization.As a test, I downgraded to the previous release and reran the exact same measurements.
Observed results:
mise2026.6.2: ~65 second shell startupI've included the following below:
zprofoutput from 2026.6.2zprofoutput from the previous releaseThe downgrade alone resolved the issue, which makes me suspect a regression introduced in 2026.6.2.
Please let me know if there are additional diagnostics that would be helpful.
For version
2026.6.2# zprof num calls time self name ----------------------------------------------------------------------------------- 1) 22 54412.46 2473.29 99.71% 54412.46 2473.29 99.71% mise 2) 1 139.46 139.46 0.26% 139.46 139.46 0.26% _mise_hook 3) 1 12.81 12.81 0.02% 9.09 9.09 0.02% compinit 4) 2 3.72 1.86 0.01% 3.72 1.86 0.01% compaudit 5) 1 2.98 2.98 0.01% 2.93 2.93 0.01% _zsh_highlight_load_highlighters 6) 1 0.77 0.77 0.00% 0.77 0.77 0.00% _zsh_highlight__function_callable_p 7) 9 0.71 0.08 0.00% 0.71 0.08 0.00% compdef 8) 9 0.67 0.07 0.00% 0.67 0.07 0.00% add-zsh-hook 9) 3 0.53 0.18 0.00% 0.50 0.17 0.00% add-zle-hook-widget 10) 3 0.40 0.13 0.00% 0.40 0.13 0.00% is-at-least 11) 1 0.10 0.10 0.00% 0.10 0.10 0.00% (anon) [/home/hyperoot/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh:460] 12) 1 0.14 0.14 0.00% 0.08 0.08 0.00% complete 13) 1 0.03 0.03 0.00% 0.03 0.03 0.00% (anon) [/usr/share/zsh/functions/Misc/add-zle-hook-widget:28] 14) 1 0.02 0.02 0.00% 0.02 0.02 0.00% bashcompinit 15) 1 0.01 0.01 0.00% 0.01 0.01 0.00% _zsh_highlight__is_function_p 16) 1 0.00 0.00 0.00% 0.00 0.00 0.00% _zsh_highlight_bind_widgetsFor version
2026.6.1# zprof num calls time self name ----------------------------------------------------------------------------------- 1) 22 1623.58 73.80 91.71% 1623.58 73.80 91.71% mise 2) 1 127.47 127.47 7.20% 127.47 127.47 7.20% _mise_hook 3) 1 13.07 13.07 0.74% 9.39 9.39 0.53% compinit 4) 2 3.68 1.84 0.21% 3.68 1.84 0.21% compaudit 5) 1 2.99 2.99 0.17% 2.94 2.94 0.17% _zsh_highlight_load_highlighters 6) 1 0.85 0.85 0.05% 0.84 0.84 0.05% _zsh_highlight__function_callable_p 7) 9 0.71 0.08 0.04% 0.71 0.08 0.04% add-zsh-hook 8) 9 0.68 0.08 0.04% 0.68 0.08 0.04% compdef 9) 3 0.44 0.15 0.03% 0.44 0.15 0.03% is-at-least 10) 3 0.43 0.14 0.02% 0.39 0.13 0.02% add-zle-hook-widget 11) 1 0.09 0.09 0.01% 0.09 0.09 0.01% (anon) [/home/hyperoot/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh:460] 12) 1 0.13 0.13 0.01% 0.07 0.07 0.00% complete 13) 1 0.03 0.03 0.00% 0.03 0.03 0.00% (anon) [/usr/share/zsh/functions/Misc/add-zle-hook-widget:28] 14) 1 0.02 0.02 0.00% 0.02 0.02 0.00% bashcompinit 15) 1 0.01 0.01 0.00% 0.01 0.01 0.00% _zsh_highlight__is_function_p 16) 1 0.00 0.00 0.00% 0.00 0.00 0.00% _zsh_highlight_bind_widgets.zshrcBeta Was this translation helpful? Give feedback.
All reactions