kovidgoyal / powerline-daemon

A daemon to reduce the resource consumption of powerline by having a single python process that serves all powerline requests
38 stars 6 forks source link

Performance gain #11

Closed wernight closed 10 years ago

wernight commented 10 years ago

Could you explain the expected performance gain along with why/how? I heard for example Powerline Git status using file system monitoring but I didn't find it faster, may be it's part of this project.

kovidgoyal commented 10 years ago

The daemon allows powerline to use inotify to avoid having to run git every time the prompt is rendered. git is only run when something actually changes. This only works on linux.

wernight commented 10 years ago

I'm on Linux with powerline and inotify-tools but it's still slow when I enable Powerline in my ZSH.

On Tue May 13 2014 at 4:57:01 PM, Kovid Goyal notifications@github.com wrote:

The daemon allows powerline to use inotify to avoid having to run git every time the prompt is rendered. git is only run when something actually changes. This only works on linux.

— Reply to this email directly or view it on GitHubhttps://github.com/kovidgoyal/powerline-daemon/issues/11#issuecomment-42965848 .