tcolar / goed

Terminal based code editor / development environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSX : High Idle wake-ups and CPU usage

tcolar opened this issue · comments

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

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
  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.

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

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

Now fixed in mainline tcell