[Top][All Lists]

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

Re: "strace emacs" reveals emacs always active

From: Eli Zaretskii
Subject: Re: "strace emacs" reveals emacs always active
Date: Wed, 05 Jul 2006 06:26:53 +0300

> From: Dan Jacobson <address@hidden>
> Date: Wed, 05 Jul 2006 03:36:02 +0800
> Comparing
> $ strace emacs
> vs.
> $ strace vi
> one finds emacs never sleeps. Lots of gettimeofday calls.

That's Emacs idle loop in action.  It's normal: how else would Emacs
know whether it has something to do?

In addition, depending on what you have in your .emacs init file, some
features, such as display-time, require more system calls inside the
idle loop.

> Yes, emacs isn't making a blip on my CPU meter

So what's your complaint?

> but still I
> bet it is doing something that miserly me probably doesn't need it to do.

Why do you need to assume that?  Why not assume that Emacs does only
what it needs to do, and nothing else?

reply via email to

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