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

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

Re: [Gnu-arch-users] Re: fedora core 2 will include subversion (and not


From: Robert Collins
Subject: Re: [Gnu-arch-users] Re: fedora core 2 will include subversion (and not gnu arch)
Date: Fri, 27 Feb 2004 07:36:01 +1100

On Fri, 2004-02-27 at 06:42, John Goerzen wrote:


> 1. "cvs diff" and "cvs log" features on a per-file basis.  Show me what
> changed in this file from patch-23 to patch-50, and not all the other
> crap alongside it.  Also, show me only the log entries that touched this
> file.

tla file-diffs may address teh first one. The second grep does quite
well - perhaps you could put the idiom into an aba command?

> 2. Performance.  On large projects, performance is absolutely abysmal,
> both for checkins and other commands.  I often have runtimes in the
> *minutes* for work on the Linux kernel, and that is on a fast box with a
> local archive.  Some of that could be simple -- for instance, if I do a
> "tla replay" followed by a "tla what-changed", it will go right back and
> do the same thing replay did, which takes forever.  I don't know why it
> is so much slower than Subversion, but it is.

Well, it will spend awesome amounts of time doing inventory fluff during
commit - try this:
strace -o ,,syscalls tla changes
cat ,,syscalls | cut '-d(' -f1 | sort | uniq -c | sort -nr | head -9

I'll bet that your tla has ~4-5 * the number of files in the kernel tree
(excluding the pristines) opens and closes.

Try my --integration-- builds from asuffields daily builds. They should
have a number of optimisations from abentley and myself that should drop
that down to (best case) ~ 2.5* the file count (thats 1 for each file +
1 for each file in the pristine + some stuff not optimised out yet)
stats - and only opens will be on directories and files that actually
changed.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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