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

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

[Octave-bug-tracker] [bug #49940] The svd function takes very long time


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49940] The svd function takes very long time for big matrices
Date: Fri, 25 Jan 2019 15:09:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #9, bug #49940 (project octave):

I modified liboctave/numeric/svd.cc to print out the elapsed time directly
around both calls to the DGESVD function, and ran the same benchmark script.

The extra output shows that virtually all of the elapsed time taken by each
call to 'svd' at the Octave interpreter level is due to elapsed time in the
DGESVD function itself and not any extra overhead that Octave is adding.


SVD_DRIVER: gesvd, Matrix Size: [2000 2000]
DGESVD[1]: elapsed time = 5.60284e-05
DGESVD[2]: elapsed time = 1.39169
bm1 =  1.4111
DGESVD[1]: elapsed time = 7.15256e-06
DGESVD[2]: elapsed time = 69.9751
bm2 =  70.040
SVD_DRIVER: gesdd, Matrix Size: [2000 2000]
bm21 =  1.6698
bm22 =  2.6572


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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