#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):

 Replying to [comment:6 jdemeyer]:
 > Replying to [comment:4 ppurka]:
 > > This takes 0.18s on my laptop in sage-5.1.beta5. I don't see why it
 should take >5s on some other hardware unless the hardware is really that
 slow.
 > Do an explaination of why it could have slowed down a lot because of
 this ticket?

 I think the way to handle the slow down is to reduce the `num_points` to
 100.

 It is not really a "slow down" per se, but it actually gives an accurate
 plot. Before #13135 3d plots of lists of points were just plain wrong.

 I think the following is a good means of checking the time that the plot
 in the revised description takes
 {{{
 sage: %time list_plot3d([(0,0,1), (2,3,4),
 (-1,-1,-1)],num_points=400).export_jmol('/tmp/a.jmol')
 CPU times: user 5.37 s, sys: 0.05 s, total: 5.42 s
 Wall time: 5.44 s
 sage: %time list_plot3d([(0,0,1), (2,3,4),
 (-1,-1,-1)],num_points=100).export_jmol('/tmp/a.jmol')
 CPU times: user 0.35 s, sys: 0.00 s, total: 0.35 s
 Wall time: 0.35 s
 }}}
 Can you run this command on the Solaris machine and find out what is the
 time taken? If it takes much less time on the latter command, then it
 would be good to have the latter one (with 100 points) instead of the
 former one (with 400 points).

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