[MERGE] Faster LocalTransport.put() and append() methods.

Robert Collins robertc at robertcollins.net
Fri Jun 9 12:12:14 BST 2006


Seeking a +1.

This patch changes AtomicFile to be more targeted at the way we use it,
rather than a general safe-for-everything tool. It also changes
LocalTransport.append() to have less syscalls while being no longer.

The combination takes making a kernel_like_tree down from 7.3 seconds to
1.5, which makes some benchmarks much more pleasant to run.

This is in my add() branch, where i'm currently fiddling stuff.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faster-localtransport-put-append.patch
Type: text/x-patch
Size: 10954 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060609/62a8a385/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060609/62a8a385/attachment.pgp 


More information about the bazaar mailing list