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

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

[Octave-bug-tracker] [bug #53713] test failure "speed.m" in Octave 4.3.9


From: Rik
Subject: [Octave-bug-tracker] [bug #53713] test failure "speed.m" in Octave 4.3.91
Date: Mon, 23 Apr 2018 01:06:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #6, bug #53713 (project octave):

The warning message says that all times were zero.  Can you help debug that? 
Try


dbstop speed 246
[order, n, T_f1, T_f2] = speed ("sum (x)", "", [100, 1000], "v = 0; for i =
1:length (x), v += x(i); endfor");


This will stop at line 246.  Type


__tnew
__torig


to inspect the two timings.  Are they really all zeros?  If not, do dbnext
twice (maybe 3 times) until you have passed


    zidx = (__tnew < 100*eps | __torig < 100*eps);


type 


zidx


Is this all ones?


If you can write back to this report the value of __tnew, __torig, and zidx we
can investigate.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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