zsh-workers
 help / color / mirror / code / Atom feed
* Git completion slowness
@ 2010-12-09 22:06 Brett Simmers
  2010-12-09 22:18 ` Benjamin R. Haskell
  2010-12-10 11:29 ` Nikolai Weibull
  0 siblings, 2 replies; 11+ messages in thread
From: Brett Simmers @ 2010-12-09 22:06 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

I asked about this in IRC and got a request to send some details to the
mailing list, so here they are -

Whenever I try to use tab completion with a git command, zsh hangs for a few
minutes using full cpu before coming back with an answer.  It usually isn't
causing much disk activity, just cpu.  The command I try to use most often
is "git checkout foo<tab>", where foo is the first few letters of a branch
name, but the slowness seems to also happen anywhere else I need to complete
a filename or branch/tag name.

Some details of my repository:
- 96,000 files
- .git is 17GB
- Deepest directory nesting in the repository is 15 levels but most files
are no deeper than 7 levels

I'm running zsh 4.3.10 with _git from today's CVS.  Host OS is Ubuntu
10.04.1, 6GB of RAM with an Intel Core2Quad 2.4ghz.  My git repo is on an
SSD (OSZ Vertex I think), so none of the hardware should be a bottleneck.
 Bash-completion on the same setup in the same repo works fine without any
delays.

-Brett

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-12-10 14:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 22:06 Git completion slowness Brett Simmers
2010-12-09 22:18 ` Benjamin R. Haskell
2010-12-10  0:10   ` Brett Simmers
     [not found]   ` <87k4jhsx78.fsf@ft.bewatermyfriend.org>
2010-12-10 11:37     ` Nikolai Weibull
2010-12-10 11:49       ` Frank Terbeck
2010-12-10 12:09         ` Nikolai Weibull
2010-12-10 11:54       ` Thomas Gstädtner
2010-12-10 12:11         ` Nikolai Weibull
2010-12-10 12:48   ` Oliver Kiddle
2010-12-10 14:00     ` Nikolai Weibull
2010-12-10 11:29 ` Nikolai Weibull

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).