Changes between Version 2 and Version 3 of Ticket #13361


Ignore:
Timestamp:
08/13/12 00:45:45 (9 years ago)
Author:
vbraun
Comment:

Now with disabled garbage collector (it did skew timings) and with optional argument a module that you want to know more about:

[vbraun@laptop sage]$ sage -startuptime sage.geometry.fan

========================================================================
== Slowest modules importing sage.geometry.fan =========================
exclude/ms include/ms   #parents  module name
     0.115     51.405          3  sage.geometry.all
     0.224      0.246          1  sage.schemes.toric.library
     0.332      0.398          1  sage.geometry.triangulation.fan_refinement
     0.383      0.471          2  sage.geometry.fan_morphism
     0.560      0.782          3  sage.schemes.toric.variety

== Slowest modules imported by sage.geometry.fan =======================
exclude/ms include/ms   #parents  module name
     0.533      2.509         19  collections
     0.607     67.336          5  sage.combinat.posets.posets
     0.631    140.774         51  sage.misc.all
     0.734     49.422          5  sage.geometry.cone
     0.772      2.777          4  sage.geometry.lattice_polytope
     1.121      1.124        175  sage.misc.abstract_method
     1.247      1.247        180  sage.misc.lazy_attribute
     1.304     65.086        230  sage.rings.all
     1.332      1.332         63  copy
     3.837      5.491        218  sage.misc.sageinspect

== module sage.geometry.fan ============================================
Time to import:  0.751ms
Cumulative time: 0.823ms
Names: fan, sage.geometry.fan

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13361 – Description

    v2 v3  
    11Right now `sage -startuptime` reports startup time including children. This isn't particularly useful since that just means that the first module (which loads most of sage as dependencies) is the slowest. The more meaningful number is exclusive children, which can tell us if the module does computations during initialization.
    22
    3 Apply [attachment:trac_13361_startuptime.patch] to the scripts (`SAGE_LOCAL/bin`) repository.
     3* Apply [attachment:trac_13361_startuptime.patch] to the scripts (`SAGE_LOCAL/bin`) repository.
     4* Apply [attachment:trac_13361_startuptime_args.patch] to the root repository.