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: Sun, 17 Mar 2019 10:40:12 -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

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

                 Summary: pause() takes too long if you call it a bunch
                 Project: GNU Octave
            Submitted by: apjanke
            Submitted on: Sun 17 Mar 2019 02:40:10 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Mac OS

    _______________________________________________________

Details:

If I call pause() several times in a row, with only a little work done in
between calls, eventually pause() starts taking much longer than the specified
time, causing hangs.

```
octave:1> for i = 1:100; t0 = tic; pause(0.2); te = toc(t0); fprintf("%.3f\n",
te); endfor
0.201
0.205
0.201
0.201
0.202
0.201
0.205
0.205
0.204
0.205
0.201
0.200
0.201
0.201
0.201
0.204
0.204
0.204
0.203
0.201
0.201
0.204
0.200
0.209
0.204
0.204
0.204
0.202
0.201
0.202
0.202
0.200
0.201
0.202
0.201
0.201
3.062
5.919
1.926
1.296
5.152
1.621
20.200
8.701
2.147
5.800
2.533
2.446
0.587
3.142
4.628
0.213
8.256
0.253
1.068
10.200
14.527
20.200
```

Only seems to affect CLI Octave; doesn't happen in the GUI Octave.

Affects 4.4.1, 5.1.0, and default.




    _______________________________________________________

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]