zsh-bench
tide
zsh-bench | tide | |
---|---|---|
24 | 26 | |
494 | 2,613 | |
- | - | |
4.1 | 8.4 | |
6 months ago | 21 days ago | |
Shell | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zsh-bench
-
Oh My Zsh
Someone's made a benchmarking system for zsh: https://github.com/romkatv/zsh-bench#premade-configs
Of course, their config is the best according to the benchmark (and ohmyzsh is the slowest option), but DIY configs are also covered, particularly possible performance optimizations.
-
Faster Shell Startup with Shell Switching
Unfortunately, running exit is not a great strategy for running benchmarks. For zsh specifically, plugin managers are optimized for fast exit.
romkatv did a great write-up and benchmark within the context of zsh[0]. It's a great read.
[0] https://github.com/romkatv/zsh-bench#how-not-to-benchmark
- Dynamic Aliases and Functions in Zsh
- Benchmark for interactive zsh – plugins, frameworks and plugin managers
- zsh-smartcache: another evalcache but can update the cache
-
Announcing Spaceship v4.0 — a customizable Zsh prompt with asynchronous rendering
Given the addition of async rendering in the latest release of spaceship, I wasn't sure whether I should include performance in the list of features found in powerlevel10kbut but not in spaceship. I used zsh-bench to benchmark powerlevel10k on my laptop running on battery (I'm writing this on a train) with a config that makes powerlevel10k looks similar to spaceship. I simply ran p10k configure and chose what looked most similar: Lean Style, UNICODE, 256 colors, two lines, etc. Here are the benchmark results:
-
7x slowdown when modify $fpath and add completion script
Obligatory link since you are engaging in profiling interactive zsh: https://github.com/romkatv/zsh-bench.
-
What is the best plugin manager in your opinion?
1.) It's fast. Like, really fast. 1.) It supports deferred loading via zsh-defer 1.) It supports local plugins as well as ones hosted via a git provider (aka: GitHub, GitLab, BitBucket, etc) 1.) The codebase is simple and easy to understand and contribute to 1.) It supports git branches (with tag/shas on the roadmap) 1.) It supports partial plugin loading such as loading Oh-My-Zsh plugins and Prezto modules without loading the whole framework. 1.) There's an easy migration path from legacy plugin managers like Antigen/Antibody. 1.) Plugins are managed via a simple plugins file that makes it easy to share your config with others. 1.) And lots more
-
Zsh significantly faster when sourced from bash with bash as default shell
In any case, slow zsh startup is always caused by whatever you put in zsh startup files and it's always possible to reduce zsh startup to imperceptible levels without sacrificing any functionality by editing said startup files. There is a bit of info on interactive zsh performance at https://github.com/romkatv/zsh-bench.
-
Zpy is a simple zsh plugin manager written in python that don't add to the shell startup time.what to y'all think?
Why is this a good thing? Is this a proxy for performance? If so, you can measure performance directly with zsh-bench. This way you can describe the advantage in terms that have real value to end users. For example, you can say that the first prompt appears N milliseconds faster when using Zpy than if you were using something-else.
tide
-
Oh My Zsh
Tide is as close to powerlevel10k as one can get in Fish.
https://github.com/IlanCosman/tide
- What can I do to recreate this prompt?
-
Top Productivity CLI Tools I Use on Linux
tide theme
-
My ultimate shell setup with Fish shell and Tmux
> The main inconvenience of fish is not even having to go into another shell for some tasks like virtual env activation, but wondering whether some command you just ran silently did something wrong because of shell incompatibility.
I have the impression that you just overlook all the rest of the things that can go wrong when using Bash, because you are simply used to it, you know it and you know how it will behave.
> Also, I wonder how fast is OMF compared to Starship?
Those are two total different projects that do not conflict at all. Personally, during my hypomania on Fish (yup), I didn't even use OMF, but added things manually and only those really needed, so that there was as little code to to maintain as possible. Fish does not have a huge number of scripts, plug-ins. If Starship is too slow for you, you might like tide. I found nothing more interesting, after which I returned to Starship anyway, but it's really fast.
https://github.com/IlanCosman/tide
Perhaps you don't need something faster than Starship, just to configure Fish in such a way that it cleans itself of garbage and runs asynchronously?
-
No one man should have all that power
I'm using a custom terminal prompt. Mine is tide for fish shell but there are many others. A lot of people use starship, which works on every terminal
-
What is the difference between OhMyFish and Starship?
Agreed. I personally like Fisher (https://github.com/jorgebucaran/fisher) with this theme based on Powerlevel10k (https://github.com/IlanCosman/tide)
- Starship or powerlevel10k
-
How do I make Gnome Terminal in Fedora look like Terminal in Manjaro Gnome?
fixed link
-
I wrote a "12 favourite terminal tools" list-article, what did I left out that should be absolutely included?
https://github.com/IlanCosman/tide is the usual recommendation for a powerlevel10k-like experience.
-
What or how to have a terminal like that?
Prompt - https://github.com/IlanCosman/tide. Go fish and never look back.
What are some alternatives?
fisher - A plugin manager for Fish
oh-my-fish - The Fish Shell Framework
zinit - 🌻 Flexible and fast ZSH plugin manager
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
sheldon - :bowtie: Fast, configurable, shell plugin manager
powerlevel10k - A Zsh theme
pure - Pretty, minimal and fast ZSH prompt
zsh4humans - A turnkey configuration for Zsh
spacefish - 🚀🐟 The fish shell prompt for astronauts