From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: [ELPA][PATCH] elisp-benchmarks: add dhrystone and nbody Date: Sat, 14 Mar 2020 22:55:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="71296"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Luca Nassi , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 14 23:56:50 2020 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 1jDFi6-000IQ6-BH for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Mar 2020 23:56:50 +0100 Original-Received: from localhost ([::1]:49058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDFi5-00018H-CZ for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Mar 2020 18:56:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47412) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDFhL-0000cj-1p for emacs-devel@gnu.org; Sat, 14 Mar 2020 18:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDFhJ-0007Ko-Uc for emacs-devel@gnu.org; Sat, 14 Mar 2020 18:56:02 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:53976) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDFhJ-0007Ar-Lf for emacs-devel@gnu.org; Sat, 14 Mar 2020 18:56:01 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 02EMu0RV014377 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 14 Mar 2020 22:56:00 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 02EMtxDR029036; Sat, 14 Mar 2020 22:55:59 GMT In-Reply-To: (Stefan Monnier's message of "Sat, 14 Mar 2020 15:59:36 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:245518 Archived-At: Stefan Monnier writes: >>> I would like to submit patches for the elisp-benchmarks package, to >>> which I have added two new tests: > > Thanks. > >>> - dhrystone: a very famous synthetic benchmark, translated from C >>> - nbody: simulation of the solar system, translated from CL > > It's not the best benchmarks, but they're still very welcome. > [ Why not the best? The better benchmarks are those representative of > the kind of code that runs in Emacs, i.e. ideally code that's > actually used by Emacs packages. ] I agree on the goal of having benchmarks that are as much realistic as possible. Knowing Luca and his CPU centricity I can guess the motivation backing his choice. That said I think is very valuable to have in a benchmark that is so well studied and understood compiler and CPU wise in the classical C form. In the future we could attempt some comparison. >> Regarding dhrystone license I'd like somebody to comment before me >> pushing it. > > I think it's OK. Thanks, this is pushed now. Andrea -- akrl@sdf.org