From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: weak hash tables Date: Sat, 06 Jul 2024 16:24:26 +0200 Message-ID: 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> <86a5iu4tiy.fsf@gnu.org> <87msmu1uy5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35774"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 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 16:25:22 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 1sQ6Lp-000994-Cz for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 16:25:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ6L3-0005WC-Jr; Sat, 06 Jul 2024 10:24:33 -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 1sQ6L1-0005Vi-QY for emacs-devel@gnu.org; Sat, 06 Jul 2024 10:24:31 -0400 Original-Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ6L0-0002me-7f; Sat, 06 Jul 2024 10:24:31 -0400 Original-Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a77ec5d3b0dso11162066b.0; Sat, 06 Jul 2024 07:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720275868; x=1720880668; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yfM5gLXHi9NOJn87jFzjJhdawR6HSqMwswhorEQJcFY=; b=AsMzoXvNUo3245vuNcE43nXfJn20GOpIL4vVmplczIHDbS9XhPRv0drArv0fPRe4hm TSdWJfAvP3KWdaCO7ESJg24ngfwcs7M/CAFlSb4qwC4MCrc2FbSIvKX8s31WVcDu6woS TrIw51VX8V7eiybRs6Etxij21qVpxoVx+jeYn6i1bfqXWlXOjhUwUHnO60KhXtGF9Cqc cs6d3V2KB0t8yiR9cgRa3u4zR+E2a6xGt6Jp+//XO2yGoBm83v86FclQmOyk/ija//DO BW0I/YCBoAjSpc6B7a1DOuodecXHoVUSqOlOglpMhckebPpgHA6BQ51c1chqpQCYSCqA l8Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720275868; x=1720880668; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yfM5gLXHi9NOJn87jFzjJhdawR6HSqMwswhorEQJcFY=; b=NRxycxP8aM9jud4oIRCC+OafmR9dg0fwBimRTFU+lGA0mGNIBCiFrtG6NctnC7Rk1h XIfq8YAO25F9HHhqSC7hIdWkpw4kEIXKzSuBTFW25OVMffVWNXtAIbEYNvyCiE46lWeu 7OIoW4s4UFdr33a7bBtXfSzt7P/9S58y/x+5RAiBLJB7gkqOnw27Zq2M80QrzqtfBolo 5qwTfLJCcCzUGs00i+qN1rsogwuTI47jUU0Q1tP7MTG3pf5BUrStTeBetnJwxcqf5M8W JpLcRECFDxJ5FGGJn8785zOqV9PtIdmfM+dNDsDR5uc96kafd0g7LTCpAHdgUNpqLZyb p5Ew== X-Forwarded-Encrypted: i=1; AJvYcCV7y0zJ37YVEQ8gUcGVfrBUzdBpYWujNa/RLdLhrLpu/D5OqjdcjXjVzrFyE3xDQHiIjCUIdhHxJQKcgWEYwKNPYUd+ X-Gm-Message-State: AOJu0Yx4JjsIXTlIA3d44sf9VC9ySun4AWJT4RtRv2ZJ/uGpCrKvJMkl 9yAeqcyQtIdNJT5jWmbyoft7pY0p1Vz36mKW+FqzF7Q6DjAfPfU2FJpaqQ== X-Google-Smtp-Source: AGHT+IFehB8hH76hkeCfkI1AfwREkFPySouaavscmomAs+33AyFcxzyk14nO7aKUrDgs5kvhCTjvXg== X-Received: by 2002:a17:906:abd4:b0:a75:360a:6cb0 with SMTP id a640c23a62f3a-a77ba46fa36mr459112266b.29.1720275867794; Sat, 06 Jul 2024 07:24:27 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a82e.dip0.t-ipconnect.de. [79.227.168.46]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77d965dc4asm117137166b.87.2024.07.06.07.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 07:24:27 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sat, 06 Jul 2024 16:08:11 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62e.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:321439 Archived-At: Gerd M=C3=B6llmann writes: > Helmut Eller writes: > >> On Sat, Jul 06 2024, Gerd M=C3=B6llmann wrote: >> >>> Helmut, could you please see if that helps with the pi code? >> >> Yes, it helps: >> >> ./src/emacs -Q -batch -l \ >> ~/.emacs.d/elpa/elisp-benchmarks-1.14/elisp-benchmarks.el --eval \ >> '(elisp-benchmarks-run "pidigits" nil 1)' >> >> finishes and requires 41.82 seconds compared to the 12.26 of the non-MPS >> version. And it uses something like 2.8 GB compared to 350 MB of the >> non-MPS version (estimated by looking at the RES column in top). > > So 1000 is probably to high for that that use case, or 0.1s is too low, > especially in batch mode. Grmpf. Could you try with 100 instead of 1000? Yeah, it should do all messages in batch mode. I've pushed that.