Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX : High Idle wake-ups and CPU usage #156

Closed
tcolar opened this issue Oct 18, 2016 · 7 comments
Closed

OSX : High Idle wake-ups and CPU usage #156

tcolar opened this issue Oct 18, 2016 · 7 comments
Labels
Milestone

Comments

@tcolar
Copy link
Owner

tcolar commented Oct 18, 2016

screen shot 2016-10-18 at 2 25 48 pm

@tcolar tcolar added the bug label Oct 18, 2016
@tcolar tcolar added this to the ASAP milestone Oct 18, 2016
@tcolar
Copy link
Owner Author

tcolar commented Oct 20, 2016

It seems after inactivity it does down as it should for goed-wde but not as much for goed-termbox and even much less for goed-tcell ... hum .... all just have a "." listing view open.

screen shot 2016-10-20 at 2 17 14 pm

@tcolar
Copy link
Owner Author

tcolar commented Oct 21, 2016

Using top is more direct and reports similar findings
top -stats pid,command,cpu,idlew,power -o power -d

PID                                   COMMAND                                         %CPU                                IDLEW                               POWER
52911                                 goed                                            1.2                                 457                                 23.5
605                                   iTerm2                                          7.6                                 19                                  8.6

@tcolar
Copy link
Owner Author

tcolar commented Oct 21, 2016

  1. It seems the 16ms ticker in actionbus is partly to blame, maybe i can use a blockign channel instead.

  2. It's much much worst with tcell than the other backends, the tcell inputloop seems to blame.

@tcolar
Copy link
Owner Author

tcolar commented Oct 21, 2016

Now fixed internally in goed, however it still occurs with the tcell front-end, must be an issue in tcell itself (upstream)

@tcolar
Copy link
Owner Author

tcolar commented Oct 21, 2016

See gdamore/tcell#129

@tcolar tcolar added On Hold and removed bug labels Oct 21, 2016
@tcolar
Copy link
Owner Author

tcolar commented Nov 4, 2016

Applied a fix in a fork of tcell for the time being.

@tcolar tcolar closed this as completed Nov 4, 2016
@tcolar
Copy link
Owner Author

tcolar commented Nov 11, 2017

Now fixed in mainline tcell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant