On Fri, Oct 16, 2009 at 3:52 PM, Carsten Haitzler <[email protected]> wrote:
> On Fri, 16 Oct 2009 15:38:25 +0800 Brian Wang <[email protected]> 
> said:
>
>> Hello all,
>>
>> The very first time when e17 is launched takes a long time (15+
>> seconds).  However, subsequent launches (even after reboot) are much
>> faster (5-second range).
>>
>> Are there any function trace utilities or config options for EFL/e17?
>> I want to take a look of how everything fits together at run time.
>>
>> Again, thanks in advance.
>
> now THATS more like i expected. the 3-50 seconds u gave before for E 
> starting..
> wasn't really right. 5 seconds is more about it. yes - 15 seconds fir first
> time is e populating its config dirs. if they dont exist. eveyr time starts it
> also checks if png, jpeg and eet loaders work. (so wallpapers can be made and
> edje files load). you can turn this off with the
>
> -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it
>
> option. right now thats all that it turns off - but there is nothing stopping
> it turning off more checks.
>
> as for profiling - oprofile is a good way to fine where cpu time is going
> system-wide. i would suggest trying that. but it want tell u about io stalls.
> just where cpu time is being spun.
>
> as such e is going to be paging in a lot of the efl libs.. this simply take
> time for IO - this of course improved the launch speed of apps after.

I just found that the the very first launch of E would scan for
fontconfig fonts.  However, the fontconfig cache was not there;
therefore the fonts got scanned (huge CJK truetype fonts) and caused
the long delay of E's startup process.  Now, I just pre-populate the
fontconfig cache and E starts in a 5-sec range.  There seems to be
more room for improvements and I will have to put more effort in it.

oprofile seems to be an interesting tool but I never used it before.
I will give it a shot to track down what's slowing down the system.

Thanks.

>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    [email protected]
>
>



-- 
brian
------------------

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to