From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add user customization fido-completion-styles Date: Tue, 02 Jun 2020 22:25:54 +0300 Message-ID: <83eeqxclrx.fsf@gnu.org> References: <87r1uzn018.fsf@gmail.com> <953E1512-6420-4AE8-AF29-15AB151B6344@schwartzmeyer.com> <877dwpn2id.fsf@gmail.com> <3483a8d9-1474-45cf-afad-8d276b96ef3f@default> <87sgfdl5jw.fsf@gmail.com> <83img9cp7j.fsf@gnu.org> <87o8q1l40i.fsf@gmail.com> <83h7vtco49.fsf@gnu.org> <87h7vtl1u2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="103181"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 02 21:27:04 2020 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 1jgCYy-000Qj0-1W for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jun 2020 21:27:04 +0200 Original-Received: from localhost ([::1]:57150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgCYx-0002uL-1p for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jun 2020 15:27:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgCYA-0001to-33 for emacs-devel@gnu.org; Tue, 02 Jun 2020 15:26:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51566) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgCY9-0004ks-Cs; Tue, 02 Jun 2020 15:26:13 -0400 Original-Received: from [176.228.60.248] (port=4507 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgCY8-0007Zb-Oi; Tue, 02 Jun 2020 15:26:13 -0400 In-Reply-To: <87h7vtl1u2.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Tue, 02 Jun 2020 20:11:49 +0100) 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:251780 Archived-At: > From: João Távora > Cc: drew.adams@oracle.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca > Date: Tue, 02 Jun 2020 20:11:49 +0100 > > - complete-with-action 1125 75% > - cond 1125 75% > - funcall 1125 75% > - all-completions 24 1% > # 15 1% This looks like funcall takes most of the time, so it's important to understand which function is being called here. > - completion-pcm--all-completions 1209 78% > - all-completions 1209 78% > - # 318 20% > - let 318 20% > - complete-with-action 318 20% > - all-completions 10 0% > - # 5 0% Is this real? all-completions calls some lambda which itself calls all-completions? > - and 5 0% > funcall 4 0% > - or 1 0% > equal 1 0% > - # 197 12% > - let 197 12% > - complete-with-action 197 12% > - all-completions 7 0% > - # 4 0% > - and 4 0% > funcall 4 0% > - # 180 11% > - let 180 11% > - complete-with-action 180 11% > - all-completions 5 0% > - # 4 0% > - and 4 0% > funcall 4 0% > + # 177 11% > + # 172 11% > + # 165 10% > + completion-pcm--hilit-commonality 21 1% What are all those lambda-functions?