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

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

[Octave-bug-tracker] [bug #55940] pause() takes too long if you call it


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55940] pause() takes too long if you call it a bunch
Date: Mon, 18 Mar 2019 12:47:51 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #10, bug #55940 (project octave):

> Thanks. I think re-coding is required then.

The one thing that makes me question this is that the delay also happens when
calling java.lang.Thread.sleep(), which is unrelated to Octave's pause()
code.


octave:1> for i = 1:100; t0 = tic; javaMethod("sleep", "java.lang.Thread",
200); te = toc (t0); fprintf ("%.3f  ", te); endfor
2.149  0.201  4.001  8.345  7.763  0.204  0.200  3.331  1.850  10.200  4.044 
0.226  0.204  0.201  0.202  0.202  0.203  0.209  10.200  1.948  1.312  0.203 
0.571  0.250  5.678  10.202  2.923  10.201  10.207  10.200  10.200  10.206 
4.998  1.045  0.200  0.200  10.200  0.300  9.712  6.791  4.549  10.200  10.200
 10.200  10.200  10.200  10.200  0.807  1.683  10.200  10.200  3.955  0.251 
10.200  10.200  2.706  0.200  1.221  0.201  0.200  10.200  10.200  0.847 
10.201  5.014  0.207  7.375  5.421  3.119  1.234  10.200  10.200  10.200 
10.200  8.764  0.201  6.226  1.285  10.201  2.811  10.200  2.842  0.200  3.964
 0.200  0.200  0.201  0.312  0.217  0.200  0.200  0.200  0.462  0.879  6.400 
0.200  10.171  0.200


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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