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:08:11 +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="36597"; 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:09:01 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 1sQ660-0009Mr-PY for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jul 2024 16:09:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ65N-0002cK-GP; Sat, 06 Jul 2024 10:08:21 -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 1sQ65M-0002cA-3R for emacs-devel@gnu.org; Sat, 06 Jul 2024 10:08:20 -0400 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ65K-0001W3-GJ; Sat, 06 Jul 2024 10:08:19 -0400 Original-Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a77d85f7fa3so200421566b.0; Sat, 06 Jul 2024 07:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720274893; x=1720879693; 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=7sV8Tz2BtM6/e+TNTvEL62KMjC/+kFFMUalBheX0DkE=; b=k32U3RnfRvLDeQVhNc7FalbFxxb8aTUwIPuQH7qLiXaH/CsWWTdtBU1WAehqbK+UY5 d+5/zadGHpTne4hhfv48wOmIs97vrdNIYtmVRJ3Tc4DTyZ+YRtkn8VZDLbJFz2g2daqy kdIJ8btCwnqn0ForCl2F00vhHzB3jqskkaEKYOn/botREsNJf7XNOl/beY5jhYPh3Wea 4kd8oKD1guImecNxbaMTLkgkXOu9WR4a55bjqomuuZXqnUasMHOwfocZFusRFwnmWwco cHYCT6oe2XpNKiaHDhSiLOw+gsoeigmO10JVZJ0gXk6Fl58RiDmN1zbv+6OHa9ii4Dkn c/6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720274893; x=1720879693; 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=7sV8Tz2BtM6/e+TNTvEL62KMjC/+kFFMUalBheX0DkE=; b=W9MnTc+oNOOeCT7n0/WnOlFmKHU9selospMkJlSO1dbLHF7CdUktZ4ygHZKKoI6YRD GBOdC4AmlvwKo+50nAP+ya19OqWtChJEfY3RGgrqdTIDahYRtPuplMYlqTokOxwgzpll CyWsD+IX5xFm/a0iSKQwJToZLrws6VJcIaIcGQltfRUoiSLzUDD6tSmth70KVSnuQQZ+ wx4jMJCqv29SJzVi/niq3ghuhotFF/qLeYtr8GaukS+NFACKzDP5mWCVtxDUTJMSmp4G suIm0LVtFVTpUvGALcipAw18AFRsMDtZWkdJ6CE4JLKEsjMXjFQh86Ifi7rjxFiq5lXM RpXg== X-Forwarded-Encrypted: i=1; AJvYcCV/tUdv+sJGaI4SN8Sx7z9BXynvWfPIcirL5TirNPqlaQTxJLLgfiIqXabwaE9J35JlctK6dg+OXdezJ84gmnutL2UW X-Gm-Message-State: AOJu0YyLLy2rxHFU61+VWp/j13EKwli+6XdYMhldlg3S3sRScC/3VZ3l jImezZNpnCSeCcoXMK8Bs3ELU8yPA0/Vo0Arwo3KcdSgLvYlsHPnFVbuhg== X-Google-Smtp-Source: AGHT+IFgFKDyzkRXlhIlgc9XMvR9DO5Cq3ocw5gpB64MHaa+hm3MgjrYMV6nPBnxuX22zfaF2EL46w== X-Received: by 2002:a17:906:b09:b0:a77:afd5:62aa with SMTP id a640c23a62f3a-a77bdc1b673mr503682666b.23.1720274892963; Sat, 06 Jul 2024 07:08:12 -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-a77e61ce67esm44820066b.206.2024.07.06.07.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 07:08:12 -0700 (PDT) In-Reply-To: <87msmu1uy5.fsf@gmail.com> (Helmut Eller's message of "Sat, 06 Jul 2024 16:00:50 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62a.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:321438 Archived-At: 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?