On Wed, Mar 3, 2010 at 11:29 AM, Harald Schilly
<harald.schi...@gmail.com> wrote:
> On Mar 3, 6:16 pm, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
>> time echo "2+2;" | /absolute/path/to/sage
>>
>
> For me:
> real    0m24.730s
> user    0m6.712s
> sys     0m1.884s
>
> real    0m5.127s
> user    0m4.348s
> sys     0m0.784s
>
> real    0m5.245s
> user    0m4.560s
> sys     0m0.840s
>
>
> It's a N270 atom netbook, my hdd is
> $ sudo hdparm -i /dev/sda
>  Model=FUJITSU, FwRev=8909, SerialNo=K616T913TG79
>  [ ... a lot of blahhh ... it's pio4 and caching enabled ... ]
>
> In comparison, chrome starts ~1 second on first startup, hence there
> is a lot to improve.
>
> I think we should look at the list of all files that are read on
> startup and try to minimize them. That's the easiest way and probably
> also the most effective one. 4 seconds of processing time and 18 secs

It's interesting that in all these threads nobody has mentioned "sage
-startuptime". That's the command that reports on what modules are
loaded when Sage starts up, and how long each takes to load...  To
optimize Sage startup time, one starts with that command.  Second,
there is a powerful
new lazy import feature that Rober Bradshaw and Mitesh Patel recently
added to Sage:
   http://trac.sagemath.org/sage_trac/ticket/7502

 -- William

> of harddisk seem to paint a clear picture who is to blaim. ;)
> Also, patterns like lazy creation of objects might help, especially
> when it reduces the number of file accesses.
>
> h
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to