git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitk (or tcl/tk) slow to start?
@ 2010-05-17 10:58 Eli Barzilay
  2010-05-17 11:51 ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Barzilay @ 2010-05-17 10:58 UTC (permalink / raw)
  To: git

Every time I run gitk when I didn't use it for a while, it takes a
long time to start (more than 30 seconds) with no visible cpu load.  I
tried to strace it, and the result shows that the time is spent
stat()ing my whole /usr/lib directory:

  ...
  stat("/usr/lib/libelf-0.131.so", {st_mode=S_IFREG|0755, st_size=87496, ...}) = 0
  stat("/usr/lib/libungif.so.4", {st_mode=S_IFREG|0755, st_size=2444, ...}) = 0
  stat("/usr/lib/libtiff.so.3.8.2", {st_mode=S_IFREG|0755, st_size=360268, ...}) = 0
  ...

Is this expected?  Anything that can be done to avoid it?

[This is using a new git version (1.7.1), but it's an old OS (Fedora
7), so maybe tcl/tk is buggy?]

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

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

end of thread, other threads:[~2010-05-18  7:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 10:58 gitk (or tcl/tk) slow to start? Eli Barzilay
2010-05-17 11:51 ` Michael J Gruber
2010-05-18  2:27   ` Eli Barzilay
2010-05-18  7:04     ` Michael J Gruber

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