From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Tassilo Horn" Newsgroups: gmane.emacs.help Subject: Re: switch-to-buffer slow on PGTK Date: Thu, 01 Feb 2024 18:19:34 +0100 Message-ID: References: <87il38jujv.fsf@jonas-damm.de> <87wmrol0xz.fsf@gnu.org> <87plxgcems.fsf@jonas-damm.de> <87il38cdhd.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="22107"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Cc: "Users list for the GNU Emacs text editor" To: "Jonas Damm" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 18:20:43 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 1rVajy-0005aN-LA for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 18:20:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVajQ-0001XQ-V1; Thu, 01 Feb 2024 12:20:08 -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 1rVajL-0001X3-Oi for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 12:20:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVajL-0004Aj-AI; Thu, 01 Feb 2024 12:20:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:References:In-Reply-To: MIME-Version; bh=V7wBzU3t2598IyzRHFY6247v4nNtKr/KgHhceZF5QZ4=; b=CC5OJMfGGrSV zJr1+FPERhW7SOklysC3ai1on2/DbX/mU12S39ztm8AX+GQKpjO/M1PDZ9tVLA2PUNdTeie9PsQLq d4vOHFTjcZhW3F8xD0v71V1oQnURtfFtfIgtnDy/eff7Rbfn6WeWiegd9j4ObC9IPfUfWLeu47AHU 8QQwMQ0DalnKdqPAB3pDhcaUWxl9ZAGBROpdmIVob3zrLvQGed5vWQrIQiuzvRZnOPgqmViObumZ0 XjrMl+6yjlVz12T4udryZHl/wU2/Kv7WY1iuZHgQE1MQUJFGEdyl+8yE9S2jWgfKXmp2DYYJGdEwJ C7sufffA0CYtsnv6IZXajw==; X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduuddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfvfgr shhsihhlohcujfhorhhnfdcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvg hrnhepgefgveffkedvtedvueefffdvvdehkefgjeekudfhffeftdeffefgtefhveetleel necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhoh hrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdei feehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87il38cdhd.fsf@jonas-damm.de> 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:145849 Archived-At: Am Do, 1. Feb 2024, um 18:15, schrieb Jonas Damm: > 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? You can expand the tree below command-execute by clicking on the + sign. But note that the time (22secs) also contains the time Emacs waited for your input. Bye, Tassilo