On Wed, Feb 27, 2013 at 2:24 AM, Simon King <simon.k...@uni-jena.de> wrote:
> Hi Volker,
>
> On 2013-02-27, Volker Braun <vbraun.n...@gmail.com> wrote:
>> The output of "sage -startuptime" only lists the 50 slowest modules, not
>> all.
>
> OK. But *with* the patch, sage.plot.graphics is the 6th slowest module,
> and much much slower than _ssl, for example---but _ssl is among the 50
> slowest modules *without* the patch.
>
> I can hardly imagine that the timings are so extremely unstable (we are
> talking about > 20ms versus < 3.4ms). But perhaps they are: When I repeated
> sage -startuptime now, it sage.plot.graphics showed up without the patch.

I can attest that the timings are extremely unstable with regard to
what's imported where and their order. For example, why does sage.misc
take so long? Because it imports nearly half of sage.rings. Later
modules will be fast or slow depending on what's been sucked in
earlier. This is one of the reasons it's so hard to debug circular
imports and startup time.
https://plus.google.com/106060403099461455118/posts/KhGipCThNtN
http://trac.sagemath.org/sage_trac/attachment/ticket/11749/11749-unneeded-imports.patch#01155b7d76b047a334c460569e9e8c54
http://trac.sagemath.org/sage_trac/ticket/11762

- Robert

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to