|
| From: | marco atzeri |
| Subject: | [Octave-bug-tracker] [bug #47455] very slow legend execution |
| Date: | Fri, 18 Mar 2016 11:12:03 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?47455>
Summary: very slow legend execution
Project: GNU Octave
Submitted by: matzeri
Submitted on: Fri 18 Mar 2016 11:12:02 AM GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Performance
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
Legend execution time is very long when
first or new location is requested .
The legend time can be more than the plot time:
octave:3> source legenda_profile.m
bAfter = 1
Elapsed time is 0.405601 seconds.
Graph plotted
Elapsed time is 0.546001 seconds.
Legend command #1
Elapsed time is 0 seconds.
Legend command #2
Elapsed time is 0.501201 seconds.
Legend command #3
Elapsed time is 0.0468001 seconds.
remaining plot stuff
# Function Attr Time (s) Time (%) Calls
-------------------------------------------------------------------
72 __line__ 0.265 48.57 23
35 set 0.078 14.29 83
1 legend 0.031 5.71 1
15 get 0.031 5.71 375
76 cellfun 0.031 5.71 23
61 text 0.016 2.86 17
9 numel 0.016 2.86 382
14 gcf 0.016 2.86 41
51 __go_axes__ 0.016 2.86 1
65 __go_text__ 0.016 2.86 17
77 __go_line__ 0.016 2.86 23
81 findobj 0.016 2.86 1
2 nargin 0.000 0.00 194
3 binary > 0.000 0.00 350
4 ishandle 0.000 0.00 44
5 prefix ! 0.000 0.00 199
6 __plt_get_axis_arg__ 0.000 0.00 41
7 strcmpi 0.000 0.00 166
8 find 0.000 0.00 105
10 binary == 0.000 0.00 378
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 18 Mar 2016 11:12:02 AM GMT Name: legenda_profile.m Size: 1kB
By: matzeri
Test case
<http://savannah.gnu.org/bugs/download.php?file_id=36685>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47455>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |