tsgates/git-emacs

value of 1.0 for git--timer-sec is eating up 50% + of CPU

Opened this issue · 2 comments

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
"Timer to monitor .git repo to update modeline"
:type '(number)
:group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!

Thank you for the commit. I resolve this issue slightly different way. Could you check if it works properly after checking out the latest commit?

  • Taesoo

On Fri, Dec 02, 2011 at 10:05:28AM -0800, Diego Maniloff wrote:

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
"Timer to monitor .git repo to update modeline"
:type '(number)
:group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!


Reply to this email directly or view it on GitHub:
#11

seems to work ok....thank you!

On Fri, Dec 2, 2011 at 1:53 PM, Taesoo Kim
reply@reply.github.com
wrote:

Thank you for the commit. I resolve this issue slightly different way. Could you check if it works properly after checking out the latest commit?

  • Taesoo

On Fri, Dec 02, 2011 at 10:05:28AM -0800, Diego Maniloff wrote:

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
  "Timer to monitor .git repo to update modeline"
  :type '(number)
  :group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!


Reply to this email directly or view it on GitHub:
#11


Reply to this email directly or view it on GitHub:
#11 (comment)