From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#53606: 29.0.50; Very slow Customize buffer for bibtex-biblatex-entry-alist Date: Sun, 10 Sep 2023 09:41:27 -0300 Message-ID: <21ff8522-0f11-5786-3113-aa79419957d9@gmail.com> References: <87sft7gawc.fsf@gnus.org> <47a462c3-7f5d-02a3-4287-5e561cb2a008@gmail.com> <838r9etydr.fsf@gnu.org> <87787067-6c2c-65ea-e94a-5889fa24d1b4@gmail.com> <83edj6s404.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 53606@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 10 14:42:06 2023 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 1qfJlO-0002gm-PZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Sep 2023 14:42:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfJlI-0005Vs-7U; Sun, 10 Sep 2023 08:42:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfJlG-0005VV-Rl for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 08:41:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfJlG-00073t-GW for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 08:41:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfJlJ-0005gc-K8 for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2023 08:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Sep 2023 12:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 53606-submit@debbugs.gnu.org id=B53606.169434970621836 (code B ref 53606); Sun, 10 Sep 2023 12:42:01 +0000 Original-Received: (at 53606) by debbugs.gnu.org; 10 Sep 2023 12:41:46 +0000 Original-Received: from localhost ([127.0.0.1]:49212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfJl3-0005g8-SR for submit@debbugs.gnu.org; Sun, 10 Sep 2023 08:41:46 -0400 Original-Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:57733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfJkx-0005fr-V1 for 53606@debbugs.gnu.org; Sun, 10 Sep 2023 08:41:43 -0400 Original-Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3a9b41ffe12so2822406b6e.3 for <53606@debbugs.gnu.org>; Sun, 10 Sep 2023 05:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694349690; x=1694954490; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wMtCa5wvog+As7F1Ir1p8F5aLU5EVWxDAyaTm6OYIF0=; b=gJ07uUUWMidVB2MD9ES/s2snNrQx3gBxbTXLYivBS4G1jIRLZMBxAH+qUj7/cnshyU Uswh7l50H2FYWVY+XvnqXJVLZDGObyXZSwKUL1z6KjBYaM3D+3eTdqQT+HuXjLg0fIae EXNxANyPCHrhyAXKXSYZjsjRb7mEV6wFRBj5gv5V9K5WuRU8WdN7RNKchKWLd0MK0MoR Sn8XGvO9AUgHNZZH5vl+KbBnbRO7Il+VlwfwynIxoFBeuNMfuJI095pHRT8/OwwjQW4f I+toZIY07oqC9qtFOPGtBJuEBQgWLijVaiiAkcaQTU0GAPCOR6XLRZwx0aQGtDyqf4sT Bg9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694349690; x=1694954490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wMtCa5wvog+As7F1Ir1p8F5aLU5EVWxDAyaTm6OYIF0=; b=ACdS5dKiXTO1zmI1Zh4wvE02QqQoVYSHJTJp91VVcH1tN/OJoexHwjcUgVYScpNxJx 0HXviWrnhM9m9HAq6pVlPYIuj3Y46wMod4y9CmrKmY1qPFmEmlsjk2ZyacZGtZxReTb7 J3aw1yKTOGH83y96rzhoPGlLmu7kHNFjJZ//cFRMjJYN7CyLxVbvVeBfrrHwlfB0m2Rr 45jr0SNTKhcAqiYKABEh5ToMWTciRpcwR/sE93fj9RjNmEbZFs19tAH7gs+HIq4VwRR6 1W1ad+1Wg4wGzt7h3HVnNfdV+e7LoWU43BXbNWFGSqK8NLexpvzZLsG+bxX05w8+DTU1 QgAQ== X-Gm-Message-State: AOJu0YwHv1ODP2QA05yClju8tuC7dKHXmlSflEgUL5iJc06mSzXyKGnK /+FmW5pg85wNWrtwc25t7XfCh5VZIs4= X-Google-Smtp-Source: AGHT+IGn8sR1ewWf5+W9uXkflbMrUxW19jQZnAUsh5sjtqhd4WHq7pCPmNaj+YYWhXyY3xp/oE9ulw== X-Received: by 2002:aca:120d:0:b0:3a1:dc0d:f32b with SMTP id 13-20020aca120d000000b003a1dc0df32bmr7917444ois.40.1694349690652; Sun, 10 Sep 2023 05:41:30 -0700 (PDT) Original-Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id bg22-20020a056808179600b003a3860b375esm2351939oib.34.2023.09.10.05.41.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Sep 2023 05:41:30 -0700 (PDT) Content-Language: en-US In-Reply-To: <83edj6s404.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269955 Archived-At: On 10/9/23 07:43, Eli Zaretskii wrote: >> Date: Sun, 10 Sep 2023 06:49:29 -0300 >> Cc: 53606@debbugs.gnu.org >> From: Mauro Aranda >> >> On 10/9/23 02:01, Eli Zaretskii wrote: >>  > Could you please profile this slow operation and post the completely >>  > unfolded profile?  I think we should try to understand what exactly >>  > takes so much time in this case. >> >> Here it is.  I also attach the result of C-x C-w in the report buffer, >> just in case. > > So the hot spot seems to be widget-checklist-add-item, is that right? I think so.  The checklist widgets were my first suspects, since creating them is rather slow. > And inside that widget-create-child and widget-apply? I don't think those functions could be the bottleneck.  Most likely it is the widget-default-create function that those functions end up calling.  So yes, widget-default-create in general, and widget-checklist-value-create in particular should be investigated for speeding them up, but I don't have any ideas at the moment.