[Sugar-devel] Performance: activities start up time

Daniel Narvaez dwnarvaez at gmail.com
Sat Nov 9 04:16:33 EST 2013


Sure. I opened a python console and called from gi.repository import
EvinceView in it. Then I looked at /proc/$console_pid/smaps. There was no
evince library in it. Then in the console I tried to use call
EvinceView.Page(), back to smaps the evince library was there.

Using strace as you did is also a fine way to do it though.

On Saturday, 9 November 2013, Gonzalo Odiard wrote:

> Can you explain me how you verified the library was not loaded?
>
> Gonzalo
>
>
> On Fri, Nov 8, 2013 at 8:16 PM, Daniel Narvaez <dwnarvaez at gmail.com<javascript:_e({}, 'cvml', 'dwnarvaez at gmail.com');>
> > wrote:
>
>> It's not just theory, I verified importing evince doesn't even cause the
>> library to be loaded. I don't have a XO 1 to check what is going on myself,
>> unfortunately.
>>
>> My suggestion is to *not* checkin this kind of workaround without any
>> clue about why the change helps, and especially to *not* suggest people
>> should do the same kind of change in other activities.
>>
>> That said, I don't maintain any of the activities so feel free to go
>> ahead if you think it's a sensible approach (sigh).
>>
>
>

-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131109/8dcbf912/attachment.html>


More information about the Sugar-devel mailing list