On Monday, November 26, 2012 5:13:38 PM UTC, Robert Bradshaw wrote:

> I remember the pain of having all one-letter variables defined as 
> symbolics, and still get bitten by r/R being defined as the R stats 
> interfaces. 
>

I use r/R as variables all the time and I have never been bitten by that. 
What is your issue with it?

It's really hard to profile startup time, but one problem is that the 
> variance is much higher than loading any individual module, and the 
> other is that it's death by a thousand cuts, with each module only 
> taking a couple of ms but the whole being unacceptable. 


There isn't much variance between different runs, the numbers are quite 
reproducable:
 
 [vbraun@volker-desktop hg]$ sage -startuptime 
sage.rings.universal_cyclotomic_field.all

========================================================================
== Slowest modules importing sage.rings.universal_cyclotomic_field.all ==
exclude/ms include/ms   #parents  module name
     1.116     74.131        226  sage.rings.all

== Slowest modules imported by sage.rings.universal_cyclotomic_field.all ==
exclude/ms include/ms   #parents  module name
     0.506     10.309         50  sage.categories.all
     0.710     12.117         17  sage.combinat.free_module
     0.723      5.653        131  sage.rings.integer_ring
     0.853      1.179         39  sage.categories.homset
     0.893      1.423        113  sage.categories.map
     0.942      0.944        181  sage.misc.abstract_method
     0.992      0.992        186  sage.misc.lazy_attribute
     1.030      8.994        210  sage.structure.parent
     2.664      3.932        224  sage.misc.sageinspect
    40.243    239.826        248  sage

== module sage.rings.universal_cyclotomic_field.all ====================
Time to import:  2.499ms
Cumulative time: 15.478ms
Names: universal_cyclotomic_field.all
File: 
/home/vbraun/opt/sage-5.5.rc0/local/lib/python2.7/site-packages/sage/rings/universal_cyclotomic_field/all.pyc

[vbraun@volker-desktop hg]$ sage -startuptime
== Slowest module imports (excluding / including children) ==
exclude/ms include/ms   #parents  module name
     1.312      1.569         23  string
     1.321      1.324          9  urlparse
     1.333     10.185        210  sage.rings.integer
     1.341     11.718          8  sage.calculus.calculus
     1.342      1.887          1  email.utils
     1.355      1.360        152  sage.structure.generators
     1.410     50.243          1  sagenb.notebook
     1.411     18.751          2  sage.graphs.generic_graph
     1.456      1.518          3  sage.combinat.sf.macdonald
     1.459     10.605          8  jinja2
     1.459      1.742         10  jinja2.utils
     1.514      1.520          1  Cookie
     1.534      6.589          5  sage.libs.singular.singular
     1.548      1.553          4  pickle
     1.611      1.617          2  jinja2.lexer
     1.803      1.833          1  sage.combinat.words.paths
     1.844      1.986          9  sage.interfaces.singular
     1.846      2.146          3  sage.schemes.elliptic_curves.heegner
     1.945      3.728         25  sage.matrix.matrix2
     1.973      2.826          2  werkzeug.routing
     2.023      4.249         25  sage.libs.pari.gen
     2.068      7.587         11 
 sage.rings.polynomial.multi_polynomial_libsingular
     2.110     13.038         14  sage.functions.other
     2.192      2.192          2  _ssl
     2.298      2.298          1  sage.ext.c_lib
     2.327     13.924         25  inspect
     2.392      2.588          6  sage.interacts.library
     2.404     14.620          7  sage.rings.quotient_ring
     2.455      2.496          1  sage.combinat.sloane_functions
     2.489     15.083          1  sage.rings.universal_cyclotomic_field.all
     2.534      2.538          2  platform
     2.575     36.370         14  IPython
     2.638      3.923        224  sage.misc.sageinspect
     2.646      2.660          1  doctest
     2.782      4.299          3  sage.rings.polynomial.pbori
     2.852      2.924          1  sage.libs.cremona.newforms
     2.899     36.160         13  sage.rings.complex_double
     3.035      3.463          3  sage.matrix.matrix_mod2_dense
     3.162      3.713          1  decimal
     3.212      3.292          2  sage.libs.linbox.linbox
     3.842      4.079          1  sage.misc.latex_macros
     4.081      6.252        225  sage.structure.element
     6.041     13.908          5  sage.rings.qqbar
     6.274      6.364          1  sage.rings.complex_mpc
     7.412      7.656          5  tokenize
     9.777     10.244          3  pytz
    13.291    514.040          4  sage.all
    26.976     27.035          6  pkg_resources
    34.617     34.619          4  flaskext.babel
    39.187    234.036        248  sage
Total time (sum over exclusive time): 549.038ms
Use sage -startuptime <module_name> to get more details about <module_name>.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to