unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, nickrob@snap.net.nz, emacs-devel@gnu.org
Subject: Re: Info is slow in Emacs 22.0.50
Date: Sun, 12 Jun 2005 12:47:24 -0400	[thread overview]
Message-ID: <87aclv8r0i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87psusmk0u.fsf@jurta.org> (Juri Linkov's message of "Sun, 12 Jun 2005 02:18:47 +0300")

> These results indicate that the main source of the slowdown is the
> menu items fontification code in `Info-fontify-node', and it is caused
> by a large amount of Info menu items needed to be processed.

While I still don't understand where the slowdown actually comes from
(e.g. why do 1559 calls to put-text-property take 0.01s with -Q -D but then
take 5.46s with a loaded .emacs?  Also more than half the elasped time is
unaccounted for in the profile of the pathological case), we can always try
and move some of Info-fontify-node into font-lock-keywords where jit-lock
should help us stay nice and responsive.


        Stefan

  reply	other threads:[~2005-06-12 16:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 23:27 Info is slow in Emacs 22.0.50 Nick Roberts
2005-06-10 23:45 ` Luc Teirlinck
2005-06-11  9:59   ` Nick Roberts
2005-06-11 23:18     ` Juri Linkov
2005-06-12  2:31       ` Nick Roberts
2005-06-12  8:51         ` Eli Zaretskii
2005-06-13  1:50           ` Nick Roberts
2005-06-13  2:19             ` Luc Teirlinck
2005-06-13  2:54               ` Nick Roberts
2005-06-11 12:52 ` Eli Zaretskii
2005-06-11 23:18   ` Juri Linkov
2005-06-12 16:47     ` Stefan Monnier [this message]
2005-06-13  6:08       ` Juri Linkov
2005-06-12 19:58     ` Richard Stallman
2005-06-13  6:07       ` Juri Linkov
2005-06-13 23:39         ` Richard Stallman
2005-06-11 23:16 ` Richard 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

  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=87aclv8r0i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /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).