monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Performance Issues With Version 0.40


From: aecooper
Subject: Re: [Monotone-devel] Performance Issues With Version 0.40
Date: Sat, 6 Sep 2008 00:32:12 +0100 (BST)
User-agent: SquirrelMail

.
.
.
>> Running lots (500) of get_content_changed commands thru automate stdio,
>> it seems to be around 1 1/2 times slower here. There's about a 46%
>> speedup from hand-coding decode_hexenc (instead of using Botan), about
>> 38% from making the db variable in the get_content_changed command
>> static (I think most of this is because initializing the db each time
>> includes verifying the schema each time), and about 8% from hand-coding
>> encode_hexenc. Together these bring it back to about the same speed as
>> in 0.39, but making the db static is just a performance-test hack and
>> not a proper solution.
>
> Would it be an idea to introduce a sort of `start transaction' / `stop
> transaction' automate stdio command sequence that would in effect cache
> handles and other stuff that would otherwise have to be validated each
> time. Then an app that knows its going to do intensive stuff for a short
> while could use this to speed up repetative operarions. If these commands
> are not used then it behaves as now?...
>
> Would you like me to raise a change request wrt to slowdown?

lol guess not looks like it have already been fixed :-)
.
.
.






reply via email to

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