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 21:11:44 +0300 Message-ID: <83img9cp7j.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> 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="39867"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 20:12:50 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 1jgBP6-000AH7-0x for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jun 2020 20:12:48 +0200 Original-Received: from localhost ([::1]:47932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgBP5-0002sw-3D for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jun 2020 14:12:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgBOO-0002DY-RD for emacs-devel@gnu.org; Tue, 02 Jun 2020 14:12:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50254) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgBOO-0006g6-8X; Tue, 02 Jun 2020 14:12:04 -0400 Original-Received: from [176.228.60.248] (port=3841 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgBOM-0004Sj-1p; Tue, 02 Jun 2020 14:12:03 -0400 In-Reply-To: <87sgfdl5jw.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Tue, 02 Jun 2020 18:51:31 +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:251775 Archived-At: > From: João Távora > Date: Tue, 02 Jun 2020 18:51:31 +0100 > Cc: emacs-devel@gnu.org > > - icomplete-post-command-hook 2032 86% > - icomplete-exhibit 2032 86% > - icomplete-completions 2009 85% > - icomplete--sorted-completions 1986 84% > - completion-all-sorted-completions 1986 84% > - completion-all-completions 1982 84% > - completion--nth-completion 1982 84% > - completion--some 1982 84% > - # 1982 84% > - completion-flex-all-completions 1965 84% > - completion-substring--all-completions 1935 82% > - completion-pcm--all-completions 1932 82% > - all-completions 1929 82% > - # 1929 82% > - complete-with-action 1929 82% > - all-completions 37 1% This actually says that the time sink is complete-with-action, not all-completions. > As you know, all-completions is a C function. The 1% is suspicious, I > don't know if I should trust it. You should trust the profile. It works the same whether it's a C function or a Lisp function.