#13361: Report startuptime exclusive children
--------------------------------+-------------------------------------------
       Reporter:  vbraun        |         Owner:  tbd          
           Type:  enhancement   |        Status:  needs_review 
       Priority:  major         |     Milestone:  sage-5.4     
      Component:  performance   |    Resolution:               
       Keywords:                |   Work issues:               
Report Upstream:  N/A           |     Reviewers:  John Palmieri
        Authors:  Volker Braun  |     Merged in:               
   Dependencies:                |      Stopgaps:               
--------------------------------+-------------------------------------------
Changes (by jhpalmieri):

  * reviewer:  => John Palmieri


Old description:

> Right 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.
>
> * Apply [attachment:trac_13361_startuptime.patch] to the scripts
> (`SAGE_LOCAL/bin`) repository.
> * Apply [attachment:trac_13361_startuptime_args.patch] to the root
> repository.
> * Apply [attachment:trac_13361_fix_test.patch] to the Sage library

New description:

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

 * Apply [attachment:trac_13361_startuptime.patch] to the scripts
 (`SAGE_LOCAL/bin`) repository.
 * Apply [attachment:trac_13361_startuptime_args.patch] and
 [attachment:trac_13361-root-referee.patch] to the root repository.
 * Apply [attachment:trac_13361_fix_test.patch] and [attachment:trac_13361
 -sagelib-referee.patch] to the Sage library

--

Comment:

 Two questions:

 - would it be useful to be able to sort by times including children
 (keeping the default as is) by specifying a command-line argument? (I
 don't know the answer to this one.)

 - should the usage `sage --startuptime [modulename]` be documented in
 `sage --advanced` and in `devel/sage/doc/en/reference/options.rst`? (I
 think the answer to this one is "yes". See the attached referee patches.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13361#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to