[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57279] Slow plotting of multiple lines
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #57279] Slow plotting of multiple lines |
Date: |
Wed, 20 Nov 2019 16:36:52 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
Update of bug #57279 (project octave):
Status: None => Confirmed
Release: 4.4.1 => dev
_______________________________________________________
Follow-up Comment #2:
I used the following simple code for testing.
figure (99, "visible", "off"); clf;
for ii = 1:20
tic; arrayfun (@() __go_line__ (gca (),"xdata", [0, 1], "ydata", [0, 1]),
1:100); tt(ii) = toc
endfor
plot (tt);
xlabel "Number of calls"
ylabel "time for 100 lines (s)"
print timings.png
On my linux mint 19.2 box, Octave 4.2 is incredibly much faster at creating
line objects than Octave 6.0: ~12ms for 100 lines against ~320ms. More
important, the number of objects already present in the axes does not
significantly affect the timing in 4.2 while it does in Octave 6.0. See the
attached two files
(file #47908, file #47909)
_______________________________________________________
Additional Item Attachment:
File name: timings_4.2.png Size:22 KB
<https://savannah.gnu.org/file/timings_4.2.png?file_id=47908>
File name: timings_6.0.png Size:25 KB
<https://savannah.gnu.org/file/timings_6.0.png?file_id=47909>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57279>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/