Journal activity profiling

Tomeu Vizoso tomeu at tomeuvizoso.net
Wed Aug 13 12:11:53 EDT 2008


On Wed, Aug 13, 2008 at 6:07 PM, Eben Eliason <eben.eliason at gmail.com> wrote:
> On Wed, Aug 13, 2008 at 12:02 PM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
>> On Wed, Aug 13, 2008 at 5:20 PM, riccardo <riccardo.lucchese at gmail.com> wrote:
>>> On Wed, 2008-08-13 at 12:13 +0200, Tomeu Vizoso wrote:
>>>> On Tue, Aug 12, 2008 at 12:10 PM, riccardo <riccardo.lucchese at gmail.com> wrote:
>>>> > Hi!
>>>> >
>>>> > Testcase:
>>>> > Fill the journal with hundreds of entries and automate the
>>>> > GtkScrollWindow in the journal to scroll one entry at time on a timeout.
>>>> >
>>>> > Build: joyride-2281
>>>
>>>> > The test runs slower when the journal has more entries than when it's
>>>> > almost empty, why is it ?
>>>>
>>>> Not sure, perhaps because there are more entries in the DS so the
>>>> query takes more time? Can you check?
>>> I cannot reproduce it by just adding more objects to the DS. I think I
>>> had `particular' objs in the journal when I saw it: ie. if I only
>>> push .xo packages to the DS the journal scrolls very slowly (after
>>> activities get installed)
>>
>> Yeah, we need to read the bundle id and version number from inside the bundle :/
>
> Why?  Can't we simply do this at install time and write some metadata
> into the entry for this, and then search on that as usual? (We want
> this anyway! It should be possible to search based on these and other
> criteria!)

Sure we can cache it. Pretty bad we don't have custom properties in
the DS yet :/

Tomeu



More information about the Devel mailing list