From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: elisp-benchmarks
Date: Thu, 10 Feb 2022 09:13:50 -0500 [thread overview]
Message-ID: <jwvr18au888.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <12E6EB56-966F-49F9-B6FC-13C2668F041B@acm.org> ("Mattias Engdegård"'s message of "Thu, 10 Feb 2022 13:12:18 +0100")
> However I would like to caution against using the 'total' line of these
> benchmarks and in fact suggest that it be removed entirely since it can be
> very misleading: it is in effect tantamount to a completely arbitrary
> weighting of the individual benchmarks.
Definitely: I should have excised it when copy&pasting, sorry.
Those benchmarks only make sense individually and you need to know what
they do to interpret the results.
> For the record, my own Relint benchmark (we all have our pets!) is at about
> 1.03 from the same baseline which is notable because it exercises a wide
> variety of operations, many of which weren't affected by any of the changes.
I encourage you to contribute it to elisp-benchmarks.
"All it takes" is a file which defines an `elb-relint-entry` function
whose execution takes a reasonable amount of time (I'd say more than 1s
but not too much more than 10s).
Of course, with Relint there's the extra issue that it involves
a package not included in Emacs. For the SMIE test, I used `sm-c-mode`
by copying a snapshot of it into the `elisp-benchmark`, because the
intention was not to measure the performance of `sm-c-mode` but the
performance of SMIE.
Stefan
next prev parent reply other threads:[~2022-02-10 14:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 22:19 elisp-benchmarks Stefan Monnier
2022-02-10 6:50 ` elisp-benchmarks Lars Ingebrigtsen
2022-02-10 7:52 ` elisp-benchmarks Eli Zaretskii
2022-02-10 12:12 ` elisp-benchmarks Mattias Engdegård
2022-02-10 14:13 ` Stefan Monnier [this message]
2022-02-10 14:18 ` elisp-benchmarks Stefan Monnier
2022-02-10 16:51 ` elisp-benchmarks Stefan Monnier
2022-02-10 21:53 ` elisp-benchmarks Mattias Engdegård
2022-02-10 22:31 ` elisp-benchmarks Stefan Monnier
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=jwvr18au888.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=mattiase@acm.org \
/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.