emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `bzr viz' slooow


From: Eli Zaretskii
Subject: Re: `bzr viz' slooow
Date: Wed, 27 Jan 2010 06:11:58 +0200

> Date: Tue, 26 Jan 2010 23:07:24 +0100 (CET)
> Cc: address@hidden
> From: Werner LEMBERG <address@hidden>
> 
> >> The most valuable tool of git is `gitk' to visualize changes
> >> together with the corresponding tree.  The pendant is `bzr viz',
> >> using the `gtk' plugin for bazaar.  However, it is very slow.
> >> Calling this command for the emacs trunk takes five minutes to
> >> start on my laptop with a a dual-core 1Ghz CPU having 1GByte of
> >> memory.
> >
> > What kind of branch is your trunk?
> 
> I've no idea.  How can I find it out?

With "bzr info", if with nothing else, like you did.

> > Regardless, look in your .bzr.log file and tell us what part takes
> > most of the time in your frequent operations.  Each line in the log
> > has a time stamp, so it's easy to see the sinks.
> 
> Do you mean this?
> 
>   0.048  bzr arguments: [u'viz']
>   0.066  looking for plugins in /home/wl/.bazaar/plugins
>   0.066  looking for plugins in 
> /usr/lib/python2.6/site-packages/bzrlib/plugins
>   0.161  encoding stdout as sys.stdout encoding 'UTF-8'
>   0.554  Didn't find search plugin
>   491.534  return code 0
> 
> This doesn't give any sensible information IMHO since apparently the
> subprocesses of `bzr viz' don't write any log data into this file,
> which is a pity.

Yes, a pity.  So my guess would be that "bzr viz" tries to produce the
full DAG of the branch history, which is expensive.  Does it have any
options equivalent to the -n option of "log", which limits the depth
of the graph?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]