On Sun, Jun 24, 2012 at 12:58 PM, David Roe <roed.m...@gmail.com> wrote:
>
>
>> > * eliminate Sage startup time per-file, which drops the time to run all
>> > tests
>> > dramatically, especially on OS X.
>>
>> Why especially on OS X?
>
>
> Maybe I'm wrong, but I thought the startup time per file was higher on OS
> X.  It was just a vague recollection though: I haven't done tests.
> David

I think OS X is by default slower than Linux at the (like 100,000
stupid) filesystem calls that Sage does every time it starts up.
With my OS X 10.7.4 laptop, which has a very fast SSD, I get the
following repeatedly:

blastoff:~ wstein$ time sage < /dev/null
----------------------------------------------------------------------
| Sage Version 5.0, Release Date: 2012-05-14                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage:
Exiting Sage (CPU time 0m0.01s, Wall time 0m0.01s).
real    0m1.526s
user    0m1.064s
sys     0m0.504s

On exactly the same laptop using a Linux Virtualbox virtual machine I
get this repeatedly:

sagews@sagewsworker:~$ time sage </dev/null
----------------------------------------------------------------------
| Sage Version 5.0.1, Release Date: 2012-06-10                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage:
Exiting Sage (CPU time 0m0.02s, Wall time 0m0.02s).

real    0m0.992s
user    0m0.784s
sys     0m0.212s



I don't know if there are filesystem or OS parameters in OS X that one
could change that would speed things up.

William

-- 
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