unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Sebastien Vauban <sva-news@mygooglest.com>, 14966@debbugs.gnu.org
Subject: bug#14966: 24.3.50; Char-displayable-p is a very long running function
Date: Wed, 18 Nov 2020 07:24:21 -0800	[thread overview]
Message-ID: <CADwFkmkV9Wd7bJiZbX6Mk99bhLujp-6VdwYrbtkkwm9f4Hfy4A@mail.gmail.com> (raw)
In-Reply-To: <83ob9lxrjr.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Jul 2013 19:24:40 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Sebastien Vauban" <sva-news@mygooglest.com>
>> Date: Mon, 29 Jul 2013 10:10:36 +0200
>>
>> I'm striving for a sub-second Emacs startup time, I'm only
>> interested in the first time...
>
> The usual way of solving this is to start Emacs only once, and leave
> it running at all times.

The reported problem is that `char-displayable-p' takes too long to run
the first time it is called after starting a fresh Emacs.

The recipe is:

0. emacs -Q
1. (benchmark-run 1 (char-displayable-p ?\u25B7))

(The above takes 200ms here.)

Is this something we will want to do something about or is this all
working as expected?  The discussion in the bug report suggests that
this is indeed something that we can live with.





  reply	other threads:[~2020-11-18 15:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27  9:47 bug#14966: 24.3.50; Char-displayable-p is a very long running function Sebastien Vauban
2013-07-27 10:49 ` Eli Zaretskii
2013-07-27 11:59 ` Andreas Schwab
2013-07-27 14:21 ` Stefan Monnier
     [not found] ` <mailman.1908.1374926410.12400.bug-gnu-emacs@gnu.org>
2013-07-29  8:10   ` Sebastien Vauban
2013-07-29 16:24     ` Eli Zaretskii
2020-11-18 15:24       ` Stefan Kangas [this message]
2020-11-18 17:13         ` Eli Zaretskii
2020-11-18 18:29           ` Stefan Kangas
     [not found] ` <mailman.1910.1374927252.12400.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.1910.1374927252.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-29  8:18     ` Sebastien Vauban
     [not found] ` <mailman.1923.1374934927.12400.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.1923.1374934927.12400.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-29  8:19     ` Sebastien Vauban

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=CADwFkmkV9Wd7bJiZbX6Mk99bhLujp-6VdwYrbtkkwm9f4Hfy4A@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=14966@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=sva-news@mygooglest.com \
    /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).