monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: [patch] heights


From: Thomas Moschny
Subject: Re: [Monotone-devel] Re: [patch] heights
Date: Sun, 1 Oct 2006 03:32:37 +0200
User-agent: KMail/1.9.4

On Saturday 30 September 2006 20:21 Koen Kooi wrote:
> Do you have any comparisions of the run time of 'mtn log Changelog' and
> 'mtn annotate Changelog' with 0.30 and heights?

Well, I didn't change annotate (yet), so no numbers there, but here are some 
run times for log (on an AthlonXP 2600+ @ 1914 MHz, 1GB RAM):

% time mtn-0.30 log ChangeLog --brief
731,18s user 49,17s system 98% cpu 13:14,31 total
% wc -l output
4054

% time mtn-heights log ChangeLog --brief
256,53s user 9,61s system 98% cpu 4:31,24 total
% wc -l output
3793

The latter does only show marked revisions, so omits some of the merges; 
that's why the number of lines in the output is smaller.

Generally, the run time for the restricted log is still high. But with 
heights, it depends on the number of revisions where the file(s) included by 
the restriction changed. So for some more seldom changed files, log run time 
is much shorter:

% time mtn-heights log mtn.1 --brief
8,82s user 1,03s system 98% cpu 10,022 total
% wc -l output
72

compared to the nearly constant run time of monotone 0.30:

% time mtn-0.30 log mtn.1 --brief
731,10s user 49,39s system 92% cpu 14:01,22 total
% wc -l output
218

- Thomas






reply via email to

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