Loggerhead usage statistics

Ian Clatworthy ian.clatworthy at canonical.com
Wed Apr 21 02:06:56 BST 2010


On 21/04/10 10:04, Martin Pool wrote:
> On 20 April 2010 17:08, Ian Clatworthy<ian.clatworthy at canonical.com>  wrote:
>> With some help from spm, poolie and I have been looking at how Loggerhead is
>> actually used "in the wild" via Launchpad. Here's the breakdown of what
>> pages are accessed and how often:
>>
>> * the files and directory in the root - 29%
>> * a particular revision - 23%
>> * recent changes (mainline) - 17%
>> * the files and directories in a subdirectory - 17%
>> * annotate of a file - 12%
>> * other changes - 1%
>
> I'm glad we confirmed them (and perhaps we can get further
> confirmation) but these are not super surprising numbers to me.  We
> have a distribution across all the loggerhead functions and any of
> them would be useful to optimize and none are really reasonable to
> neglect.
>

Here are some updated and corrected figures:

* files - 25%
* annotate - 21%
* revision - 15%
* +filediff - 13%
* download - 13%
* no verb - 6% (maps to changes)
* +revlog - 3%
* changes - 3%
* atom - 0.5%
* diff - 0.2%

So the primary things to make fast are:

1. display of items in a directory
2. annotated view of a file
3. display of a single revision
4. diff of a single file

1, 3 and 4 should be straight forward. Speeding up annotate is harder I 
suspect.

Ian C.



More information about the bazaar mailing list