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

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

[Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow
Date: Wed, 15 Aug 2018 17:05:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #17, bug #45890 (project octave):

Here is "official" benchmark:


----------------------------------------------------------------------
GNU Octave Version: 4.4.1 (hg id: 8800e167c665)
GNU Octave License: GNU General Public License
Operating System: Linux 4.17.12-200.fc28.x86_64 #1 SMP Fri Aug 3 15:01:13 UTC
2018 x86_64
----------------------------------------------------------------------
no packages installed.

N=1000000 NNZ=20000000 NRUNS=5
 sparse: 3.138651 (0.007312)
 2*A   : 0.307419 (0.005336)
 A'    : 2.439559 (0.001288)
 A+B   : 0.845855 (0.001971)
 A*x   : 0.389937 (0.002420)
 A'*x  : 2.844413 (0.004723)


for a reference, a simple test:


octave:1> a=randn(4000);
octave:2> tic; inv(a)*a; toc
Elapsed time is 7.02823 seconds.


(Openblas, 4-threads)

Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45890>

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




reply via email to

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