<div dir="ltr">Actually, I find this last part was a mistake from my part, <div>because I was testing in 0.100 in the XO,</div><div>and the code is a little different than in master.</div><div><br></div><div>The line 375 is:</div>
<div><br></div><div><div> def run_main_loop(self):</div><div> Gtk.main()</div></div><div><br></div><div>then, need continue looking.</div><div><br></div><div>Gonzalo</div><div><br></div><div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 22, 2014 at 6:24 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, May 22, 2014 at 10:10:28AM -0300, Gonzalo Odiard wrote:<br>
> Now, almost all the time, is spent in:<br>
><br>
> 1 4.278 4.278 6.741 6.741 activity.py:375(run_main_loop)<br>
><br>
> What is that?<br>
> <a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity</a><br>
> /activity.py#L375<br>
><br>
> _initialize_journal_object have a nice FIXME<br>
><br>
> # FIXME: We should be able to get an ID synchronously from the DS,<br>
> # then call async the actual create.<br>
> # <a href="http://bugs.sugarlabs.org/ticket/2169" target="_blank">http://bugs.sugarlabs.org/ticket/2169</a><br>
><br>
> <a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity</a><br>
> /activity.py#L425<br>
><br>
> points to a bug 4 years old :(<br>
> (there are more information in this bug [2].... 7 years old!<br>
<br>
</div>Nice find, well done. I don't know of anybody else having done<br>
profiling like this for about four years, so you may find other ways<br>
to improve startup time.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</div>