help-octave
[Top][All Lists]
Advanced

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

Re: Poor plot performance on Windows


From: tmacchant
Subject: Re: Poor plot performance on Windows
Date: Wed, 16 Mar 2016 15:17:04 -0700 (PDT)

>>   syntax error 
>> 
>> >>>   data = ""> 
> 
>> What is bad for me ?
> 
> I'm not sure why that one line got mangled in the web archive. The 
> original message contained the line: 
> 
>   data = profile('info'); 
> 
> mike 

Thanks it works now!

octave-4.0.0 for windows with qt graphics_toolkit

# first run
bAfter =  1
Elapsed time is 2.65053 seconds.
   #    Function Attr     Time (s)   Time (%)        Calls
----------------------------------------------------------
 109    __line__             1.080      42.22           62
 112     cellfun             0.525      20.54           77
  29         set             0.254       9.91          184
  17         get             0.131       5.13         1055
 113 __go_line__             0.112       4.38           62
 117      legend             0.077       3.01            3
  43 __go_axes__             0.042       1.64            2
 133     findobj             0.042       1.64            2
  10    ishandle             0.037       1.45          114
 129 __go_text__             0.019       0.74           33

# second run
bAfter =  1
Elapsed time is 2.21999 seconds.
   #             Function Attr     Time (s)   Time (%)        Calls
-------------------------------------------------------------------
 103             __line__             1.063      48.39           62
 106              cellfun             0.515      23.47           77
  20                  set             0.239      10.89          179
 107          __go_line__             0.112       5.10           62
 111               legend             0.032       1.46            3
  34 legend>deletelegend1             0.029       1.30            1
 128          __go_text__             0.020       0.91           33
  12                  get             0.019       0.87         1092
 132              findobj             0.018       0.82            2
  66               repmat             0.011       0.50           52

On octave cygwin64 on the same PC

First run
bAfter =  1
Elapsed time is 4.68298 seconds.
   #    Function Attr     Time (s)   Time (%)        Calls
----------------------------------------------------------
 109    __line__             1.349      30.57           62
 112     cellfun             0.641      14.53           77
  17         get             0.585      13.25         1055
  29         set             0.292       6.61          184
  43 __go_axes__             0.248       5.62            2
 113 __go_line__             0.114       2.58           62
 117      legend             0.092       2.09            3
 133     findobj             0.085       1.93            2
  93     __plt__             0.082       1.86           16
  62     num2str             0.077       1.74           32

Second run
bAfter =  1
Elapsed time is 2.72489 seconds.
   #         Function Attr     Time (s)   Time (%)        Calls
---------------------------------------------------------------
 103         __line__             1.319      48.90           62
 106          cellfun             0.634      23.50           77
  20              set             0.243       9.02          179
 107      __go_line__             0.099       3.68           62
  12              get             0.049       1.81         1092
 111           legend             0.040       1.50            3
  33 __go_axes_init__             0.039       1.45            1
 132          findobj             0.024       0.89            2
  54          num2str             0.018       0.66           32
 128      __go_text__             0.018       0.65           33

The values of Time are similar to those in
http://lists.gnu.org/archive/html/help-octave/2016-03/msg00045.html

Perhaps plot in 4.0.0 is slower than that in 3.2.x.
However, this issue seem to be irrelevant to the critical slowness that
happened 
in some windows environments.

Tatsuro



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Poor-plot-performance-on-Windows-tp4675531p4675581.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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