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

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

[Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch
Date: Mon, 11 Nov 2019 04:25:55 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0

Follow-up Comment #55, bug #56752 (project octave):

Re comment #54: 

Actually, it seems my test was benchmarking 
both "reshape" and "mat2cell" as can be checked by


for ii = 1:100; 
  tic; 
  n = 1e6; 
  x = reshape (1:n, [1000, 1000])'; 
  t1(ii) = toc; 

  tic; 
  y = mat2cell (x, [500,20,180,300], [100,90,810]); 
  t2(ii)=toc; 
endfor


both seem to be affected by the changeset in a non negligible
way, but "reshape" sounds like something that may be used more
often than "mat2cell".



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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