From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sat, 06 Jul 2024 20:21:53 +0300 Message-ID: <86plrq307i.fsf@gnu.org> References: <-plQctKgNkvp-LJ9ov2QAiXQKxd9V-hI0yz_opRGxQtbknubCjH4rH2-ymgbw_Qr1ZhB1rtlmiEW8XtuIVNr7nR_Yj20AH6WkH6kUGp68g0=@protonmail.com> <_mNcR6ailVKpYHLxgfo_tJlYGeR0AQIzQWluspYYp5_g5pIIKkHLNfFkklQQgOKNiVW8jn8NS3i2dJ7_B2Qyx9v-Dq3MQ9mP8HNL30UWsqY=@protonmail.com> <878qyf4sgm.fsf@gmail.com> <878qye3l81.fsf@gmail.com> <86ikxi4vt5.fsf@gnu.org> <871q4639z0.fsf@gmail.com> <86zfqu39k4.fsf@gnu.org> <874j921oi5.fsf@gmail.com> <86r0c632gc.fsf@gnu.org> <87ikxizcth.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, pipcet@protonmail.com, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 06 19:22:39 2024 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 1sQ97P-0000nA-CX for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 19:22:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ96r-0000zf-IG; Sat, 06 Jul 2024 13:22:05 -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 1sQ96p-0000yc-FO for emacs-devel@gnu.org; Sat, 06 Jul 2024 13:22:03 -0400 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 1sQ96i-00027x-Lg; Sat, 06 Jul 2024 13:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MR97b/6RFPR6s8G9O/qQZjAL+yCzNfaV/Td5r2tom0s=; b=COBRWBus225b yhAcv4/uwHz16rhMkzlCI72gOgzax9LiWVdj2BqkJtII4oiRwN6gY3Vo0pKinjaScjYUHf/1nX52i cCe9QoO8AgT1Jq/c2x0ew1P7srz79RIL0xFfj7injBfwfWgGJ4rFyVUPAIxzoGYVRbZh0HHXvzCHG RfoJX9Q+pzu9x15b242W6qY8/cx0qryM89QyhE4LaPsocxbbJS3/lqK6A44hsDBAeVMDHLBqKRrvs aPGT3MOwx+hSwnOb4/ecHNiiZ1oc8PNNEjFU0JjWqedEcHlGvwEaPGGznVeMw9i5yAE9hoelbMRLj DjCRS1vK8v5xREfbT+3j7w==; In-Reply-To: <87ikxizcth.fsf@gmail.com> (message from Helmut Eller on Sat, 06 Jul 2024 18:48:26 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321450 Archived-At: > From: Helmut Eller > Cc: gerd.moellmann@gmail.com, pipcet@protonmail.com, emacs-devel@gnu.org > Date: Sat, 06 Jul 2024 18:48:26 +0200 > > On Sat, Jul 06 2024, Eli Zaretskii wrote: > > >> What else could cause it in ert-test-run-tests-batch-expensive? > [...] > > AFAIU, we call buffer-string, which then must copy the interval tree > > of the buffer to the interval tree of the string we create. > > > > Is that what you wanted to know and understand? > > Well, I wanted to know if it could be something other than printing > backtraces. E.g. ert creating some annotated log buffer. The backtrace is inserted into a special backtrace buffer. The backtrace buffer uses 'invisible' text properties to hide long lines. Then the 'invisible' properties need to be removed when the backtrace is prepared for display on the terminal (which is what ERT wants to do, I believe). > Anyway, it look likes the MPS version is slower and needs twice the > memory than the non-MPS version. Do you understand why?