#13135: list_plot3d.py timeout in Solaris
----------------------------+-----------------------------------------------
       Reporter:  jdemeyer  |         Owner:  jason, was
           Type:  defect    |        Status:  new       
       Priority:  blocker   |     Milestone:  sage-5.1  
      Component:  graphics  |    Resolution:            
       Keywords:            |   Work issues:            
Report Upstream:  N/A       |     Reviewers:            
        Authors:            |     Merged in:            
   Dependencies:            |      Stopgaps:            
----------------------------+-----------------------------------------------

Comment (by ppurka):

 A resource leak might be a possibility. I ran the following two commands:

 '''Vanilla sage-5.1beta5'''
 {{{
 ...sage-5.1.beta5/devel/sageĀ» ../../sage -t --long -force_lib
 sage/plot/plot3d/list_plot3d.py
 sage -t --long -force_lib "devel/sage-
 main/sage/plot/plot3d/list_plot3d.py"
          [10.3 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 10.3 seconds
 }}}

 Then I changed that `list_plot` example to the following:
 {{{
 sage: list_plot3d([(0,0,1), (2,3,4),
 (-1,-1,-1)],num_points=400).export_jmol(tmp_filename()+'.jmol') # long
 time
 }}}

 '''After change to the `list_plot` example'''
 {{{
 ...sage-5.1.beta5/devel/sageĀ» ../../sage -t --long -force_lib
 sage/plot/plot3d/list_plot3d.py
 sage -t --long -force_lib "devel/sage-
 main/sage/plot/plot3d/list_plot3d.py"
          [8.6 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 8.6 seconds
 }}}
 That is quite a bit of a difference just for dumping the jmol into a file.

 Is there some automated way to measure the memory/cpu usage of a running
 process?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13135#comment:9>
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