From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: elisp-benchmarks Date: Sun, 08 Dec 2019 13:05:16 -0800 Message-ID: <87v9qq5y0j.fsf@ericabrahamsen.net> References: <87tv6dfe3c.fsf@ericabrahamsen.net> <87d0d0f3l6.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81305"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 08 22:06:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ie3kp-000KxJ-2I for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2019 22:06:11 +0100 Original-Received: from localhost ([::1]:33424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie3kn-0002r2-Nj for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2019 16:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ie3k9-0002on-K6 for emacs-devel@gnu.org; Sun, 08 Dec 2019 16:05:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ie3k7-0006il-GZ for emacs-devel@gnu.org; Sun, 08 Dec 2019 16:05:29 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:58652 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ie3k6-00065Z-0B for emacs-devel@gnu.org; Sun, 08 Dec 2019 16:05:27 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id CA363FA087; Sun, 8 Dec 2019 21:05:17 +0000 (UTC) In-Reply-To: (Andrea Corallo's message of "Sun, 08 Dec 2019 20:38:12 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 52.70.2.18 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243244 Archived-At: Andrea Corallo writes: > Stefan Monnier writes: >> Not sure what you mean by "other package". AFAIK this is meant as >> a benchmark of Elisp itself, so it shouldn't depend on anything >> else than Emacs and shouldn't be affected by changes in third >> party packages. > > If understand correctly that means benchmarks can probe every piece of > Emacs core and not just 'basic' language features. To get practical: a > test that calls the gnus infrastructure would be then acceptable right? Right, I was also trying to imagine what this would look like in practical terms. Say I want to put a change into Gnus that I hope will result in speedups. I make a git branch, make some commits. I probably set up a git worktree for the branch. I create an init file for that worktree emacs (so that I can run "emacs -Q -l init.el") that just adds the elisp-benchmarks package to the load-path. Then I start my worktree emacs, and run the benchmarks. I'm just thinking this through -- the above workflow is fine as far as I'm concerned. Eric