From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#14966: 24.3.50; Char-displayable-p is a very long running function Date: Wed, 18 Nov 2020 07:24:21 -0800 Message-ID: References: <86d2q4e3m5.fsf@somewhere.org> <86d2q16b2b.fsf@somewhere.org> <83ob9lxrjr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2551"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Sebastien Vauban , 14966@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 18 16:25:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfPKY-0000YN-SJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 16:25:10 +0100 Original-Received: from localhost ([::1]:50526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfPKX-00068i-S4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 10:25:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfPKQ-00067U-Bf for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 10:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfPKQ-0002Ve-2j for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 10:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfPKP-00056f-Vb for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 10:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2020 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14966 X-GNU-PR-Package: emacs Original-Received: via spool by 14966-submit@debbugs.gnu.org id=B14966.160571307319553 (code B ref 14966); Wed, 18 Nov 2020 15:25:01 +0000 Original-Received: (at 14966) by debbugs.gnu.org; 18 Nov 2020 15:24:33 +0000 Original-Received: from localhost ([127.0.0.1]:36123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfPJx-00055J-F2 for submit@debbugs.gnu.org; Wed, 18 Nov 2020 10:24:33 -0500 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:40485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfPJr-000545-Ko for 14966@debbugs.gnu.org; Wed, 18 Nov 2020 10:24:28 -0500 Original-Received: by mail-ed1-f49.google.com with SMTP id d18so2411415edt.7 for <14966@debbugs.gnu.org>; Wed, 18 Nov 2020 07:24:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=Abmg4g7iDmvh+EOgf+ird9/gSKctlv8R00UFUsAtI4o=; b=OUiW+O1rW69XRc3iE1qNfthiOXi85Xo1i1kG3Npz/Tw2Sw3rqv1nWVYp+9fQhZaEvV 4E+mTh8g8g79hSso/KF0Mg37RTDLYYnZpvZpVryqSZBTLcGv9WAOLjdR011NvwgUaJSL 4o0AWRw9VCD9w5M01mpqrWcXVrytbENmbuCXXVvVpd9MyrirweFHVZGH9GmEpqKibfJ4 Xm0h+00xFKW+zCYHXhPlbC91f3x/sBVDJSNts3AaPf9JUDNbaNWVRe1x3a4+wA6m3+Ae d1BondqIbHmdYOwXSf4F2Y8m5bUDs28Xr1vWs3NrRpw7dgU0RNSiltQcCAy+P/rb/9H1 EMbg== X-Gm-Message-State: AOAM5304vk+bCSLVRTZD63s//IvkpI2kOYWvZVvf0l93k8ctWjQCJrXz E5jWI3/Zyr8AOZYr4mGT3cCwNvoIzB9pQ53K0xumgzIS X-Google-Smtp-Source: ABdhPJzhEO7olLmGy4J6CpoMsI3Gud6BttYd5afp+AHmU+SVsgO8rzZhQrba/tMIdXaM8BRwMNgFk9+tbS/7hdQ0Da4= X-Received: by 2002:a05:6402:1114:: with SMTP id u20mr25066565edv.377.1605713062110; Wed, 18 Nov 2020 07:24:22 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 07:24:21 -0800 In-Reply-To: <83ob9lxrjr.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Jul 2013 19:24:40 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193621 Archived-At: Eli Zaretskii writes: >> From: "Sebastien Vauban" >> 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.