gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] [PATCH] arch speedups on big trees


From: Chris Mason
Subject: Re: [Gnu-arch-users] [PATCH] arch speedups on big trees
Date: Tue, 06 Jan 2004 15:26:15 -0500

Another small set of changes, directed at getting better speed from
arch_make_changeset

tla library-add no longer has a --replace, that was too racey.  I moved
it to tla make-pristine.  If you use make-pristine --replace as a
make-tmp-pristine hook, tla star-merge is able to reuse and patch
forward existing pristine trees instead of linking and then unlinking a
temp tree.  

Using pristine trees also makes commits faster, since the last step of
the commit is to update the pristine tree for later use.

My star-merge time is down from 2 minutes to 20 seconds.  I'd like to do
better, but it's all I can squeeze out of the code for now.  

The changes to make_changeset also helped tla commit and tla changes,
they are able to scan the tree faster now, but tla commit --quick --
file1 file2 is fastest, it can commit in less than a second.  Later on I
might try some features to maintain a list of files modified by the
other commands, for feeding to a fast commit run.

The patch against tla 1.1, along with a short README on using it are at
ftp.suse.com/pub/people/mason/patches/arch.  The code is still quite
beta, but any help to shake out bugs would be appreciated.

I haven't yet merged with the latest in Toms 1.2 tree, I might look at
it next week.

-chris






reply via email to

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