[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA][PATCH] elisp-benchmarks: add dhrystone and nbody
From: |
Andrea Corallo |
Subject: |
Re: [ELPA][PATCH] elisp-benchmarks: add dhrystone and nbody |
Date: |
Sat, 14 Mar 2020 22:55:59 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Stefan Monnier <address@hidden> 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
--
address@hidden