From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: elisp-benchmarks Date: Thu, 10 Feb 2022 11:51:27 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37901"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 10 20:43:39 2022 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 1nIFLt-0009fj-OR for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Feb 2022 20:43:38 +0100 Original-Received: from localhost ([::1]:40766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFLs-0005RC-Ms for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Feb 2022 14:43:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nICfR-0002XW-Vv for emacs-devel@gnu.org; Thu, 10 Feb 2022 11:51:38 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nICfP-0003Qr-AA for emacs-devel@gnu.org; Thu, 10 Feb 2022 11:51:36 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C4BD48070D; Thu, 10 Feb 2022 11:51:31 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 04927803FC; Thu, 10 Feb 2022 11:51:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1644511890; bh=VN73mDH3SE6vHlgTmvbDy+lIVqE5YGWIY6Ykml+y0RA=; h=From:To:Subject:References:Date:In-Reply-To:From; b=b6BJ/8qKaANwcTVoCkPCmJSxO7/m2jJ1wDWGBaUBSHuu0ts08EA7y8z7jiQYBxgia 3ijun6xOMYecjTGKhP4U8jVoXPP/Gs9A5ZeW0xXt4CZDizBlA7gyO05wXkMMdI/Yj8 daKyhfaNR7oeQGVZVStdRat6KxXz5PQohRKap2vDJXhAsKqXW/L3cGX38nGYFMgSye dlbN5shWfyHrbwOvEvvEX0Q46qmB/JvDbUiWGvI6T0SHAo/y+ebKFKqjmHCQ8wOhQv 3bD9xkFdrvV04r2OUeii8UoXVz00bh5BHsqXjFRFHyPcZWIYvFfEa6g6Zw9j50Ahut KKjrFIILKKMAQ== Original-Received: from pastel (76-10-138-212.dsl.teksavvy.com [76.10.138.212]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C83D3120744; Thu, 10 Feb 2022 11:51:29 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Thu, 10 Feb 2022 09:18:12 -0500") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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: 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" Xref: news.gmane.io gmane.emacs.devel:286147 Archived-At: Stefan Monnier [2022-02-10 09:18:12] wrote: >> I just ran the elisp-benchmarks (with a repeat count of 10) on some >> little-used server we have here and figured others might like to see the >> result: > > Further results: > > `emacs-28` (i.e. commit 82e74e4559b8becd44f3e7ac0134e2baddd69921): > > | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | > |--------------------+----------------+------------+---------+-------------+-----------------| > | bubble | 5.91 | 8.70 | 439 | 14.61 | 0.03 | > | bubble-no-cons | 15.90 | 0.06 | 3 | 15.96 | 0.00 | > | bytecomp | 3.04 | 2.49 | 124 | 5.53 | 0.06 | > | dhrystone | 15.20 | 0.00 | 0 | 15.20 | 0.01 | > | eieio | 5.07 | 3.33 | 167 | 8.41 | 0.02 | > | fibn | 5.44 | 0.00 | 0 | 5.44 | 0.00 | > | fibn-named-let | 5.83 | 0.00 | 0 | 5.83 | 0.00 | > | fibn-rec | 10.86 | 0.00 | 0 | 10.86 | 0.03 | > | fibn-tc | 9.01 | 0.00 | 0 | 9.01 | 0.01 | > | flet | 17.98 | 0.00 | 0 | 17.98 | 0.03 | > | inclist | 18.16 | 0.00 | 0 | 18.16 | 0.00 | > | inclist-type-hints | 18.16 | 0.00 | 0 | 18.16 | 0.00 | > | listlen-tc | 9.06 | 0.00 | 0 | 9.06 | 0.02 | > | map-closure | 14.55 | 0.00 | 0 | 14.55 | 0.02 | > | nbody | 5.86 | 16.11 | 795 | 21.97 | 0.05 | > | pack-unpack | 1.03 | 0.86 | 43 | 1.89 | 0.01 | > | pack-unpack-old | 3.15 | 1.74 | 87 | 4.89 | 0.01 | > | pcase | 19.70 | 0.00 | 0 | 19.70 | 0.00 | > | pidigits | 10.97 | 9.88 | 403 | 20.85 | 0.13 | > | scroll | 1.28 | 0.08 | 4 | 1.37 | 0.00 | > | smie | 3.07 | 0.94 | 46 | 4.00 | 0.01 | > |--------------------+----------------+------------+---------+-------------+-----------------| > > `emacs-27` (i.e. commit d7f4cc0974645cc6a295740afe85c6e21d956119) > > | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | > |--------------------+----------------+------------+---------+-------------+-----------------| > | bubble | 8.85 | 8.98 | 503 | 17.84 | 0.02 | > | bubble-no-cons | 18.36 | 0.07 | 4 | 18.43 | 0.00 | > | bytecomp | 2.87 | 2.45 | 134 | 5.32 | 0.00 | > | dhrystone | 17.04 | 0.00 | 0 | 17.04 | 0.00 | > | eieio | 5.25 | 3.67 | 204 | 8.92 | 0.01 | > | fibn | 6.26 | 0.00 | 0 | 6.26 | 0.00 | > | fibn-rec | 12.41 | 0.00 | 0 | 12.41 | 0.01 | > | fibn-tc | 9.84 | 0.00 | 0 | 9.84 | 0.01 | > | flet | 25.14 | 0.00 | 0 | 25.14 | 0.01 | > | inclist | 31.55 | 0.02 | 1 | 31.57 | 0.05 | > | inclist-type-hints | 42.77 | 0.02 | 1 | 42.79 | 0.01 | > | listlen-tc | 9.92 | 0.00 | 0 | 9.92 | 0.03 | > | map-closure | 15.90 | 0.00 | 0 | 15.90 | 0.03 | > | nbody | 6.74 | 15.23 | 839 | 21.96 | 0.04 | > | pack-unpack-old | 5.65 | 1.65 | 92 | 7.30 | 0.01 | > | pcase | 23.63 | 0.00 | 0 | 23.63 | 0.00 | > | pidigits | 10.39 | 10.10 | 457 | 20.49 | 0.19 | > | smie | 3.39 | 0.98 | 54 | 4.37 | 0.00 | > |--------------------+----------------+------------+---------+-------------+-----------------| > > > -- Stefan And here's `emacs-26` (i.e. commit 7497ee44b471f69ce59d131a6dece261e871534f) | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | |--------------------+----------------+------------+---------+-------------+-----------------| | bubble | 10.93 | 4.56 | 319 | 15.49 | 0.05 | | bubble-no-cons | 21.20 | 0.03 | 2 | 21.23 | 0.00 | | bytecomp | 3.04 | 1.24 | 84 | 4.28 | 0.02 | | dhrystone | 18.65 | 0.00 | 0 | 18.65 | 0.02 | | eieio | 5.35 | 1.89 | 129 | 7.24 | 0.03 | | fibn | 7.26 | 0.00 | 0 | 7.26 | 0.00 | | fibn-rec | 10.85 | 0.00 | 0 | 10.85 | 0.00 | | fibn-tc | 9.38 | 0.00 | 0 | 9.38 | 0.00 | | flet | 20.40 | 0.00 | 0 | 20.40 | 0.00 | | inclist | 23.13 | 0.00 | 0 | 23.13 | 0.01 | | inclist-type-hints | 30.49 | 0.00 | 0 | 30.49 | 0.00 | | listlen-tc | 10.21 | 0.00 | 0 | 10.21 | 0.03 | | map-closure | 14.00 | 0.00 | 0 | 14.00 | 0.00 | | nbody | 7.11 | 7.56 | 531 | 14.67 | 0.04 | | pack-unpack-old | 6.38 | 0.83 | 58 | 7.21 | 0.00 | | pcase | 27.48 | 0.00 | 0 | 27.48 | 0.00 | | pidigits | 0.98 | 0.17 | 12 | 1.15 | 0.00 | | smie | 3.96 | 0.46 | 32 | 4.42 | 0.01 | |--------------------+----------------+------------+---------+-------------+-----------------| [ I'm having trouble building `emacs-25` ("cannot open `m4/count-leading-zeros.m4'" and things like that), so I think I'll stop here. ] Stefan