|
From: | Timothy Brownawell |
Subject: | Re: [Monotone-devel] speed of 0.99 |
Date: | Sat, 27 Nov 2010 22:55:46 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100821 Iceowl/1.0b2 Icedove/3.1.2 |
On 11/19/2010 04:31 AM, Markus Wanner wrote:
Hi, I've recently upgraded to monotone 0.99, mainly to get the new commit message editor. Thanks for that! However, it seems to me it's quite a bit slower than previous versions. Which weren't exactly fast, either, but 'mtn status' and 'mtn ls branches' seems to take half an eternity. (Admittedly, I'm keeping all of my projects in one database file, which certainly doesn't help speed, because that one file is getting close to 1 GiB in size). Is this just subjective, or did anybody else notice a similar slowdown? It this worth investigating?
My db is 785MB, and the copies for 0.45 and 0.48 are 639MB. This is in a checkout of the monotone tree.
| hot cache | cold cache | | head | 0.45 | 0.48 | head | 0.45 | 0.48 | status | .16s | .16s | .16s | 1.2s | .45s | 1.2s | w/o inodeprints | .22s | .22s | .22s | 1.7s | .89s | 1.5s | ls branches | .13s | 4.1s | .13s | 1.1s | 5.3s | .97s |So it looks like 'ls branches' may have slowed down a tiny bit since 0.48, and 'status' is slightly slower since 0.45 (but only on a cold cache).
I'd think that the additional time in 'status' is from the extra info we output now, probably mostly the check for whether a commit would create an extra head. But 'mtn heads' only takes .15s cold-cache, so there's still around .7s missing...
-- Timothy Free public monotone hosting: http://mtn-host.prjek.net
[Prev in Thread] | Current Thread | [Next in Thread] |