[MERGE] 22% Faster logs by optimizing get_texts
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Jun 17 04:55:34 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
This patch continues my log performance work, by implementing get_texts
so that it is a single readv operation.
Note that it was also necessary to sort the records before sending them
to readv-- should readv do its own sorting?
Before the patch the test ran in 626 ms. Now it runs in 510.
Also, I've done a little clean-up work.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEk3020F+nu1YWqI0RAtMAAJ0SAk4vv8vu+uMOAJ7KStMtVpKNFgCdGCKU
f9Bc0fwTEzw7tQZxwKiRl44=
=Se85
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.perf2.patch
Type: text/x-patch
Size: 9132 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060616/cff63b71/attachment.bin
More information about the bazaar
mailing list