GNU/Linux ◆ xterm-256color ◆ zsh 6782 views

Powerline Status ZSH and Powerlevel10k are two similar ZSH themes. This screencast starts with Powerline and then switches to Powerlevel10k to compare performance.

  • Powerline Status ZSH config:
    {
      "default_module": "powerline.segments.common",
      "segments": {
        "right": [],
        "left": [
          { "function": "powerline.segments.common.env.user" },
          { "function": "powerline.segments.shell.cwd" },
          { "function": "powerline_gitstatus.gitstatus" }
        ]
      }
    }
    
  • Powerlevel10k config:
    POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(user dir vcs)
    POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
    typeset POWERLEVEL9K_VCS_{STAGED,UNSTAGED,UNTRACKED}_MAX_NUM=99
    
  • Current directory: chromium.
  • Machine: Intel i9-7900X running Ubuntu 18.04.

Prompt latency measured with zsh-prompt-benchmark:

  • Powerline Status ZSH: 385 ms.
  • Powerlevel10k: 47 ms (8 times faster).

More by romka

Powerlevel10k Load Latency 01:57

by romka

ZSH Plugin Loading 01:10

by romka

gitstatusd benchmark 00:53

by romka

No Turbo 00:11

by romka

See all