octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61674] deconv much slower than conv


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #61674] deconv much slower than conv
Date: Wed, 15 Dec 2021 02:28:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Update of bug #61674 (project octave):

                Category:                    None => Interpreter            
                Priority:              5 - Normal => 3 - Low                
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

On my Linux system I cannot observe this difference with Octave 7.  deconv is
marginal slower than conv.


>> N = 10; conv_t = nan(N,1); for j = 1:N; tic; num = 1; for i = 1:50; num =
conv (num, [1 -1]); end; conv_t(j) = toc; end; mean(conv_t)
ans = 3.2459e-03

>> N = 10; deconv_t = nan(N,1); for j = 1:N; tic; den = num; for i = 1:50; den
= deconv (den, [1 -1]); end; deconv_t(j) = toc; end; mean(deconv_t)
ans = 4.2221e-03


Did you overwrite one of those functions?  What is the output for


>> which conv
'conv' is a function from the file
/usr/share/octave/7.0.1/m/polynomial/conv.m
>> which deconv
'deconv' is a function from the file
/usr/share/octave/7.0.1/m/polynomial/deconv.m


If nobody else can confirm this issue, or a reason for this unique behavior
can be identified, this issue is likely to be closed soon.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61674>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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