all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pip Cet <pipcet@protonmail.com>
Cc: acorallo@gnu.org, stefankangas@gmail.com, mattiase@acm.org,
	eggert@cs.ucla.edu, emacs-devel@gnu.org
Subject: Re: New "make benchmark" target
Date: Sat, 04 Jan 2025 20:33:01 +0200	[thread overview]
Message-ID: <86r05ibfaa.fsf@gnu.org> (raw)
In-Reply-To: <87pll2fsj7.fsf@protonmail.com> (message from Pip Cet on Sat, 04 Jan 2025 16:34:24 +0000)

> Date: Sat, 04 Jan 2025 16:34:24 +0000
> From: Pip Cet <pipcet@protonmail.com>
> Cc: acorallo@gnu.org, stefankangas@gmail.com, mattiase@acm.org, eggert@cs.ucla.edu, emacs-devel@gnu.org
> 
> "Eli Zaretskii" <eliz@gnu.org> writes:
> 
> > Since you've pushed that to a branch, I suggest to submit bug reports
> > about these issues, using "[scratch/elisp-benchmarks]" in the Subject
> > of the bug.
> 
> I've studied the issues a bit more.  This is a bit long, but in summary,
> I think improving elisp-benchmarks.el (the specific file, not the entire
> package, which I still intend to reuse) would take more time than
> starting from ERT

You mean, starting from scratch??  How can this be less work than
fixing whatever bugs you found in the benchmarks (assuming that we
want to fix all of them)?

> I'm reporting a small number of elisp-benchmarks "bugs" (I think the
> term is likely to be contentious; I use it because that's what the
> mailing list is called).  All of them are fixable.  Most of them are
> easily fixable by moving to ERT.

You mean, if we move to ERT, which by itself is a significant job,
then some or most of these bugs could be fixed as a side effect or
with much less work, is that it?  That could be so, but then the move
to ERT itself is not a small job, so we need to take that into
consideration when deciding whether to move to ERT right now.

> My conclusion is that elisp-benchmarks.el (again, the benchmarks are
> fine) isn't the right way forward.

Well, you though that to begin with, so forgive me if I say that I'd
like a second independent opinion in this case.

> I'm happy to change the scratch/elisp-benchmarks branch in the ways
> we've discussed, and it should be merged, but if someone decides to
> incrementally solve some of the issues, that, while not very harmful,
> would be an inefficient use of resources.

Let's hear what Andrea thinks about the issues you reported (let's
please discuss them on the bug tracker, not here), and let's take it
from there.

> Benchmarks need a test framework.

I don't necessarily agree.  A benchmark doesn't have to have a
"correct" or "expected" result, so a test framework is not necessarily
justified or needed.



  reply	other threads:[~2025-01-04 18:33 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 22:37 Improving EQ Pip Cet via Emacs development discussions.
2024-12-12  6:36 ` Eli Zaretskii
2024-12-12  8:23   ` Andrea Corallo
2024-12-12  8:36   ` Pip Cet via Emacs development discussions.
2024-12-12  9:18     ` Eli Zaretskii
2024-12-12  9:35     ` Visuwesh
2024-12-12 10:40     ` Andrea Corallo
2024-12-12 17:46       ` Pip Cet via Emacs development discussions.
2024-12-12 19:09         ` Eli Zaretskii
2024-12-12 10:53     ` New "make benchmark" target Stefan Kangas
2024-12-12 10:59       ` Andrea Corallo
2024-12-12 16:53         ` Pip Cet via Emacs development discussions.
2024-12-13  0:49           ` Stefan Kangas
2024-12-13  7:37             ` Andrea Corallo
2024-12-14 12:00               ` Stefan Kangas
2024-12-14 14:06                 ` Stefan Monnier
2024-12-14 11:34             ` Pip Cet via Emacs development discussions.
2024-12-14 11:58               ` Stefan Kangas
2024-12-14 20:07                 ` Pip Cet via Emacs development discussions.
2024-12-14 20:20                   ` João Távora
2024-12-15  0:57                   ` Stefan Kangas
2024-12-22 16:04                     ` Pip Cet via Emacs development discussions.
2024-12-29 10:47                       ` Andrea Corallo
2024-12-30 11:45                         ` Pip Cet via Emacs development discussions.
2024-12-30 14:15                           ` Eli Zaretskii
2024-12-30 15:00                             ` Pip Cet via Emacs development discussions.
2024-12-30 15:21                               ` Eli Zaretskii
2024-12-30 15:49                                 ` Pip Cet via Emacs development discussions.
2024-12-30 15:53                                   ` João Távora
2024-12-30 16:40                                   ` Eli Zaretskii
2024-12-30 17:25                                     ` Pip Cet via Emacs development discussions.
2024-12-30 18:16                                       ` Eli Zaretskii
2024-12-31  4:00                                         ` Pip Cet via Emacs development discussions.
2024-12-31  5:26                                           ` Stefan Kangas
2024-12-31 13:05                                             ` Eli Zaretskii
2024-12-31 14:14                                               ` Pip Cet via Emacs development discussions.
2024-12-31 14:22                                                 ` Eli Zaretskii
2024-12-31 12:53                                           ` Eli Zaretskii
2024-12-31 14:34                                             ` Andrea Corallo
2024-12-30 18:26                                       ` Andrea Corallo
2024-12-30 18:58                                         ` Stefan Kangas
2024-12-30 21:34                                         ` Pip Cet via Emacs development discussions.
2024-12-31  9:55                                           ` Andrea Corallo
2024-12-31 12:43                                           ` Eli Zaretskii
2024-12-31 14:01                                             ` Pip Cet via Emacs development discussions.
2025-01-04 16:34                                             ` Pip Cet via Emacs development discussions.
2025-01-04 18:33                                               ` Eli Zaretskii [this message]
2025-01-05 10:18                                                 ` Pip Cet via Emacs development discussions.
2025-01-06 11:23                                               ` Andrea Corallo
2025-01-06 14:46                                                 ` Eli Zaretskii
2025-01-06 18:41                                                   ` Andrea Corallo
2024-12-15  0:58                   ` Stefan Kangas
2024-12-12 10:42 ` Improving EQ Óscar Fuentes
2024-12-12 10:50   ` Andrea Corallo
2024-12-12 11:21     ` Óscar Fuentes
2024-12-13 12:24       ` Pip Cet via Emacs development discussions.
2024-12-12 17:05     ` Pip Cet via Emacs development discussions.
2024-12-12 18:10     ` John ff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r05ibfaa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=acorallo@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=mattiase@acm.org \
    --cc=pipcet@protonmail.com \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.