From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Entering emojis Date: Fri, 29 Oct 2021 21:06:53 +0300 Message-ID: <83v91fpuwy.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <87ilxi7531.fsf@gnus.org> <875yth7bjr.fsf@gnus.org> <871r4576ey.fsf@gnus.org> <87wnlx5rd4.fsf@gnus.org> <837ddxtimp.fsf@gnu.org> <87h7d15mvi.fsf@gnus.org> <831r45tgu3.fsf@gnu.org> <87cznp5k6p.fsf@gnus.org> <83tuh1rvjt.fsf@gnu.org> <87czno3jmp.fsf@gnus.org> <83bl38s7t5.fsf@gnu.org> <871r440zj1.fsf@gnus.org> <83mtmsq7q1.fsf@gnu.org> <87r1c4x86a.fsf@gnus.org> <83ilxgq6k3.fsf@gnu.org> <87ilxfyl6w.fsf@gnus.org> <87a6irykbn.fsf@gnus.org> <83a6irrfam.fsf@gnu.org> <875ytfx014.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 29 20:08:46 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mgWJ3-0008nv-HZ for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 20:08:45 +0200 Original-Received: from localhost ([::1]:53332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgWJ2-0004pN-Gi for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 14:08:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgWHV-0003GS-1i for emacs-devel@gnu.org; Fri, 29 Oct 2021 14:07:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgWHT-0001PK-MA; Fri, 29 Oct 2021 14:07:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HdJOpkwqVKHGwwfnbiXH8vLXHmiAupVGq65Dtj3eVYw=; b=sOIjvBcID1m9 0XySwfTd0m5gpnQf2YFjuLwu9k9aYw0tbDlQ8vue0N+EZ+1iFEdHc2fLpWhZrVwfW6K6uhlmeHhwV Xrk1YjmSEoZyT/Ye7MqBMb6K5gMq4tA0rC5rPPjDRZ501d1XrkmB9RGoyXCBolka8KEEmr5EJuWwL W25GfDFrtl2IIRuZM0lEPdng5jF482Swzba2ZSLSLRsv4z7ZNbT2uwG232vBjjnsc5KBwWIHpzAWu CLMQr6rIkV2euAtvD3I0PzOeeFU98GQ10yn60IIQgw/pgp7uePJ0w/Fgvfuy76Rsn9dkDbWCzncPE cd4fKQ1S+QOZXYGiZKCF4Q==; Original-Received: from [87.69.77.57] (port=3856 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgWHS-0005Bt-W3; Fri, 29 Oct 2021 14:07:07 -0400 In-Reply-To: <875ytfx014.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 29 Oct 2021 18:34:31 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278223 Archived-At: > From: Lars Ingebrigtsen > Cc: stefankangas@gmail.com, emacs-devel@gnu.org > Date: Fri, 29 Oct 2021 18:34:31 +0200 > > > emacs -Q > > M-x load-file RET lisp/play/emoji.el RET > > M-x profiler-start RET RET > > > > Then run the command you say is slow. When it finishes, do this: > > > > M-x profiler-report RET > > 133 78% - ... > 87 51% - let > 87 51% - while > 87 51% - let > 87 51% - emoji--adjust-displayable > 87 51% - if > 87 51% - setcdr > 87 51% - seq-filter > 87 51% - seq-map > 87 51% - apply > 87 51% - # > 87 51% - mapcar > 87 51% - # > 87 51% - # > 87 51% - not > 87 51% - symbolp > 87 51% char-displayable-p Please repeat this after "M-x load-file Ret mule.el RET", so that we see which parts of char-displayable-p take the lion's share of the time. Sorry I didn't think about this earlier.