#11287: Interface to runsnake and import_statements
------------------------------+---------------------------------------------
   Reporter:  nthiery         |          Owner:  tbd                      
       Type:  enhancement     |         Status:  new                      
   Priority:  major           |      Milestone:  sage-4.7.1               
  Component:  performance     |       Keywords:  runsnake, prun, profiling
Work_issues:                  |       Upstream:  N/A                      
   Reviewer:  Franco Saliola  |         Author:  Nicolas M. ThiƩry        
     Merged:                  |   Dependencies:                           
------------------------------+---------------------------------------------
 This patch adds to developper tools in sage.misc.dev_tools:

 - An interface to the graphical profiler ```runsnake```.
   See e.g. the attached image which shows a graphical profile
   of listing all the elements of SymmetricGroup(3), and highlights
   the current GAP interface issue with select on certain linux
   kernels.

 - A function import_statements:
 {{{
         sage: import_statements(WeylGroup, lazy_attribute)
         from sage.combinat.root_system.weyl_group import WeylGroup
         from sage.misc.lazy_attribute import lazy_attribute

         sage: import_statements(WeylGroup, lazy_attribute, lazy=True)
         from sage.misc.lazy_import import lazy_import
         lazy_import('sage.combinat.root_system.weyl_group', 'WeylGroup')
         lazy_import('sage.misc.lazy_attribute', 'lazy_attribute')
 }}}

 To achieve this, it also extracts a function get_main_globals out of
 inject_variables.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11287>
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