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: Rik
Subject: [Octave-bug-tracker] [bug #45890] Sparse A*x and A+B are a bit slow
Date: Wed, 15 Aug 2018 12:32:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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

I don't think octave_quit is the problem.  I removed every instance in
Sparse-op-defs.h, recompiled, and re-ran the benchmark.  The results are
essentially unchanged


----------------------------------------------------------------------
GNU Octave Version: 5.0.0 (hg id: hg-id-disabled)
GNU Octave License: GNU General Public License
Operating System: Linux 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36
UTC 2018 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io  |  2.4.11 | /home/rik/.octavepkg/io-2.4.11
  statistics  |   1.4.0 | /home/rik/.octavepkg/statistics-1.4.0

N=1000000 NNZ=20000000 NRUNS=5
 sparse: 3.961243 (0.004620)
 2*A   : 0.232663 (0.010505)
 A'    : 3.068885 (0.016318)
 A+B   : 0.677771 (0.009605)
 A*x   : 0.528133 (0.014709)
 A'*x  : 3.637228 (0.007716)


The biggest differest was with the ordinary multiply with a 3% savings which
is most likely just noise (it is within 1.5 SD so unlikely to be
significant).


    _______________________________________________________

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]