From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Damm Newsgroups: gmane.emacs.help Subject: Re: switch-to-buffer slow on PGTK Date: Thu, 01 Feb 2024 18:15:08 +0100 Message-ID: <87il38cdhd.fsf@jonas-damm.de> References: <87il38jujv.fsf@jonas-damm.de> <87wmrol0xz.fsf@gnu.org> <87plxgcems.fsf@jonas-damm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40542"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 30.0.50 Cc: Jonas Damm , Users list for the GNU Emacs text editor To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 18:16:25 2024 Return-path: Envelope-to: geh-help-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 1rVafo-000ALV-Go for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 18:16:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVafH-0007SQ-Hk; Thu, 01 Feb 2024 12:15:51 -0500 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 1rVafE-0007Pr-8T for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 12:15:48 -0500 Original-Received: from dd15330.kasserver.com ([85.13.136.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVafC-0003OB-6I; Thu, 01 Feb 2024 12:15:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jonas-damm.de; s=kas202309021153; t=1706807742; bh=PocclowFZhaR0gMDZGqXiyd4HgdKEh63WAt7FXnE6ww=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=dWLzeLNFLJVt5Q19CYsuXzPTdveY8TOuns52XOZtpkc8uqzGVWn2xTep0ZEC8kCt+ 95Z/QcKCRREas8shmeCQicfJhcc/q+vyaZ5HmPAXLRisZM4myqq/ZZpy+cLWU3buvO J5smEseauvDVj6KzpSD8WyOfhLbrVy6icnKN1eh1QMmv5rlDVcOYQpen+q/dCRXUpH kcsJHDNnbIQayK+0SpK98lNinpKU0a8mZ8l0OPutlHNz+EKPnccrjYU6FuP+DHbStr i99mwvJerivYEM0vhRF9tI2iloCO8LavP1qNauSn3mpggztMLXh0Dna9i8bX8YqqVb zmVj0qkHp+tJQ== Original-Received: from jonas-x201 (dynamic-046-114-170-182.46.114.pool.telefonica.de [46.114.170.182]) by dd15330.kasserver.com (Postfix) with ESMTPSA id B5B887500129; Thu, 1 Feb 2024 18:15:42 +0100 (CET) In-reply-to: X-Spamd-Bar: / Received-SPF: pass client-ip=85.13.136.159; envelope-from=mailing@jonas-damm.de; helo=dd15330.kasserver.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145848 Archived-At: This is the output of the profiler: 22,744,487 98% + command-execute 453,256 1% + redisplay_internal (C function) 7,279 0% Automatic GC 912 0% + timer-event-handler 21 0% + help-command-error-confusable-suggestions 0 0% ... How can i narrow it down further? Thanks! "Tassilo Horn" writes: > Am Do, 1. Feb 2024, um 17:48, schrieb Jonas Damm: >> Currently i have 37 Buffers open. I think thats normal. > > Alright, then it's something else. > > Have a look at the Emacs profiler, e.g., the commands profiler-start > and friends. There's surely also a section in the manual. That should > show where the time is spent. > > Bye, > Tassilo