all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmx.net>
Cc: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: Re: c-mode eats resources?
Date: Sun, 19 Feb 2006 13:54:54 +0200	[thread overview]
Message-ID: <200602191354.54632.pogonyshev@gmx.net> (raw)
In-Reply-To: <200602190002.k1J02IJ07231@raven.dms.auburn.edu>

Luc Teirlinck wrote:
> >From my previous reply:
> 
>    Not really.  After visiting a large file in C mode, I see some CPU
>    time being used, probably to fontify the buffer, but it eventually
>    stops after using only a very few seconds total time (four for alloc.c
>    and maybe those four seconds were not even all used for C mode).
> 
> Well, that is four seconds total _CPU_ time, for visiting alloc.c
> using `emacs -q' on a 1.7GHZ dual Xeon.  Emacs does not run _all_ of
> the time, although a lot, takes a maximum of 3.something CPU and
> finishes in about 3 minutes _clock_ time.  If your machine would be a
> lot slower than mine and/or if your file is a lot larger than alloc.c,
> it could last for much longer than 3 minutes (although your maximum
> CPU usage is about the double of mine, which should halve the clock
> time).
> 
> So the questions are:
> 
> Do you see this in `emacs -q'?
> Do you see it regardless of file size?

OK, that's probably it.  I just didn't expect that it would run for so
long.  Just checked now, it shows the similar pattern and stops after
some minutes.  Sorry for the noise.

Paul

  reply	other threads:[~2006-02-19 11:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18 21:07 c-mode eats resources? Paul Pogonyshev
2006-02-18 22:40 ` Chong Yidong
2006-02-18 23:12   ` Paul Pogonyshev
2006-02-19 11:12     ` martin rudalics
2006-02-18 22:47 ` Lennart Borgman
2006-02-18 23:12 ` Luc Teirlinck
2006-02-19 17:18   ` Juri Linkov
2006-02-19 23:31     ` Andreas Schwab
2006-02-20  8:18     ` Kim F. Storm
2006-02-20 19:33       ` Juri Linkov
2006-02-18 23:17 ` Luc Teirlinck
2006-02-19  0:02 ` Luc Teirlinck
2006-02-19 11:54   ` Paul Pogonyshev [this message]
2006-02-19  0:05 ` Luc Teirlinck
2006-02-19  1:00 ` Luc Teirlinck
2006-02-19 15:17 ` Stefan Monnier
2006-02-19 22:47 ` Richard M. Stallman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602191354.54632.pogonyshev@gmx.net \
    --to=pogonyshev@gmx.net \
    --cc=teirllm@dms.auburn.edu \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.