[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31305] slow contour plot

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31305] slow contour plot
Date: Mon, 11 Oct 2010 17:58:41 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3


                 Summary: slow contour plot
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Mon 11 Oct 2010 01:58:39 PM EDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Improvement/Optimization
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS



Rendering contours relies upon a loop in the subfunction add_patch_children()
of __contour__.m. Contours with a large number of patches render very slowly.

octave:15> tic ; contour(rand(20)); toc
Elapsed time is 3.266 seconds.
octave:16> tic ; contour(peaks(20)); toc
Elapsed time is 0.2346 seconds.
octave:17> tic ; contour(rand(30)); toc
Elapsed time is 8.055 seconds.
octave:18> tic ; contour(peaks(30)); toc
Elapsed time is 0.2556 seconds.

I'm not sure if this is a vectorization challenge, or if the slow down can be
averted by calling __go_patch__() directly.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]