I decided to rewrite https://github.com/banga/powerline-shell in go after reading this article yesterday evening (almost done, only mercurial, svn and fossil are missing), and the performance is amazing.
The latency went down to 200µs (except when git is used, then it’s ~4ms), and it’s fast enough.
Here’s a video: https://s3.kuschku.de/public/2017-08-21_16-43-41.mp4
I’ll put it on https://github.com/justjanne/powerline-go later today, once I’m done.
I like powerline but it really is slow as molasses -- even after I disabled a bunch of the (useless) default stuff. powerline-daemon was supposed to help but, if it did, it wasn't really noticeable.
https://github.com/rdnetto/powerline-hs