zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Timo Sand <timo.j.sand@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Opening a new tab is awkwardly slow
Date: Tue, 19 Nov 2013 08:57:53 -0800	[thread overview]
Message-ID: <CAH+w=7YnQ1gMfVjydQfscJzv6qYymSZcUvT3MZFKB25U3sdx6w@mail.gmail.com> (raw)
In-Reply-To: <CAMxBVSvDF=7Ca40SHoZdbyXchM4xM9S8KEBtozFFMV7wUkkM+A@mail.gmail.com>

On Tue, Nov 19, 2013 at 8:27 AM, Timo Sand <timo.j.sand@gmail.com> wrote:
> Here's the xtrace output https://gist.github.com/deiga/7547991
>
> Not sure how to debug this, any help would be appreciated :)

Well, to begin with, search for calls to the "git" and "nvm" functions.

I only see one call to "git":

+/Users/timosand/.zsh/system.zsh:9> git config --global
credential.helper osxkeychain
+git:0> hub config --global credential.helper osxkeychain

I know OSX keychain operations can be really slow sometimes; you might
want to consider doing that only once per desktop session rather than
on every shell.  Or put this in the background, if it's not directly
modifying the current shell environment.

The nvm activity seems to be from nvm.plugin.zsh, an oh-my-zsh module.

The problem with using modular configuration systems like oh-my-zsh is
that they encourage you to throw in all sorts of stuff that you might
use only once in a blue moon, or to try things and then forget you
have them enabled, so you're paying a continuous performance penalty
for an occasional convenience.  Part of the point of them being
modular is that things can be easily unplugged, too ...


  parent reply	other threads:[~2013-11-19 16:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 10:51 Timo Sand
2013-11-19 15:33 ` Bart Schaefer
2013-11-19 16:27   ` Timo Sand
2013-11-19 16:40     ` Peter Stephenson
2013-11-19 16:57     ` Bart Schaefer [this message]
2013-11-20  6:18       ` Timo Sand
2013-11-20  6:19         ` Timo Sand
2013-11-20 12:35           ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7YnQ1gMfVjydQfscJzv6qYymSZcUvT3MZFKB25U3sdx6w@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=timo.j.sand@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).