From: Eli Zaretskii <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: "strace emacs" reveals emacs always active
Date: Wed, 05 Jul 2006 06:26:53 +0300 [thread overview]
Message-ID: <uk66srate.fsf@gnu.org> (raw)
In-Reply-To: <E1Fxqgk-00052p-Md@jidanni1> (message from Dan Jacobson on Wed, 05 Jul 2006 03:36:02 +0800)
> From: Dan Jacobson <jidanni@jidanni.org>
> 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?
prev parent reply other threads:[~2006-07-05 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 19:36 "strace emacs" reveals emacs always active Dan Jacobson
2006-07-05 3:26 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uk66srate.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).