-
Notifications
You must be signed in to change notification settings - Fork 26
Description
It looks a very interesting project. Sorry if I write in the issue section. Mine is more a comment for the discussion section, but I could not find it on the page of the project.
You said that it is the fastest plugin manager. There are other plugin managers around, like zinit, which are also very fast. Zinit uses different tricks to speed up loading a new shell. It is basically using async loading for non critical plugins.
Here is an example of my loading time:
zinit times
Plugin loading times:
1 ms - local/zinit.git
1 ms - zdharma-continuum/zinit-annex-binary-symlink
1 ms - zdharma-continuum/zinit-annex-patch-dl
2 ms - zdharma-continuum/zinit-annex-bin-gem-node
1 ms - alberti42/zinit-annex-latest-release
1 ms - zdharma-continuum/zinit-annex-meta-plugins
2 ms - rust
1 ms - sharkdp/fd
1 ms - sharkdp/bat
2 ms - sharkdp/hexyl
2 ms - sharkdp/hyperfine
2 ms - jhawthorn/fzy
13 ms - romkatv/powerlevel10k
3 ms - tmux
3 ms - tree-sitter
3 ms - neovim
3 ms - spamwax/rmate-rs
1 ms - local/key-bindings
1 ms - OMZL::clipboard.zsh
1 ms - OMZL::compfix.zsh
2 ms - OMZL::completion.zsh
1 ms - OMZL::correction.zsh
1 ms - OMZL::grep.zsh
1 ms - OMZL::history.zsh
1 ms - OMZL::spectrum.zsh
1 ms - OMZP::gnu-utils
2 ms - sharkdp/vivid
4 ms - zsh-users/zsh-history-substring-search
2 ms - zsh-users/zsh-completions
1 ms - jqlang/jq
1 ms - local/ssh-tmux
1 ms - local/zsh-misc-completions
2 ms - local/zsh-misc-functions
1 ms - astral-sh/uv
1 ms - astral-sh/ruff
11 ms - junegunn/fzf
9 ms - Aloxaf/fzf-tab
1 ms - sxyazi/yazi
4 ms - tmux-plugins/tmux-yank
5 ms - tmux-plugins/tmux-resurrect
4 ms - tmux-plugins/tmux-suspend
4 ms - tmux-plugins/tmux-fzf-links
1 ms - jonas/tig
1 ms - alberti42/tmux-ssh-syncing
1 ms - ip7z/7zip
1 ms - casey/just
1 ms - eza-community/eza
1 ms - BurntSushi/ripgrep
1 ms - aristocratos/btop
1 ms - atanunq/viu
1 ms - danielgatis/imgcat
1 ms - yorukot/superfile
14 ms - zdharma-continuum/fast-syntax-highlighting
13 ms - zinit/compinit
Total: 0.142 sec
I am just curious if you could add some benchmarking to your GitHub page. It would make it more attractive for people like me to consider switching to your plugin system.
Zinit is super fast, but the code is a bit of a mess, and it is not super supported.
I don't expect your plugin system to do much faster than zinit (which is already very fast on my comptuer), but it would be interesting to see that it would not be much slower either. Then, switching to your plugin manager, with a better, cleaner code would be worth considering.
Thanks!