[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp-benchmarks
From: |
Stefan Monnier |
Subject: |
Re: elisp-benchmarks |
Date: |
Thu, 10 Feb 2022 11:51:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier [2022-02-10 09:18:12] wrote:
>> I just ran the elisp-benchmarks (with a repeat count of 10) on some
>> little-used server we have here and figured others might like to see the
>> result:
>
> Further results:
>
> `emacs-28` (i.e. commit 82e74e4559b8becd44f3e7ac0134e2baddd69921):
>
> | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s)
> | tot avg err (s) |
>
> |--------------------+----------------+------------+---------+-------------+-----------------|
> | bubble | 5.91 | 8.70 | 439 | 14.61
> | 0.03 |
> | bubble-no-cons | 15.90 | 0.06 | 3 | 15.96
> | 0.00 |
> | bytecomp | 3.04 | 2.49 | 124 | 5.53
> | 0.06 |
> | dhrystone | 15.20 | 0.00 | 0 | 15.20
> | 0.01 |
> | eieio | 5.07 | 3.33 | 167 | 8.41
> | 0.02 |
> | fibn | 5.44 | 0.00 | 0 | 5.44
> | 0.00 |
> | fibn-named-let | 5.83 | 0.00 | 0 | 5.83
> | 0.00 |
> | fibn-rec | 10.86 | 0.00 | 0 | 10.86
> | 0.03 |
> | fibn-tc | 9.01 | 0.00 | 0 | 9.01
> | 0.01 |
> | flet | 17.98 | 0.00 | 0 | 17.98
> | 0.03 |
> | inclist | 18.16 | 0.00 | 0 | 18.16
> | 0.00 |
> | inclist-type-hints | 18.16 | 0.00 | 0 | 18.16
> | 0.00 |
> | listlen-tc | 9.06 | 0.00 | 0 | 9.06
> | 0.02 |
> | map-closure | 14.55 | 0.00 | 0 | 14.55
> | 0.02 |
> | nbody | 5.86 | 16.11 | 795 | 21.97
> | 0.05 |
> | pack-unpack | 1.03 | 0.86 | 43 | 1.89
> | 0.01 |
> | pack-unpack-old | 3.15 | 1.74 | 87 | 4.89
> | 0.01 |
> | pcase | 19.70 | 0.00 | 0 | 19.70
> | 0.00 |
> | pidigits | 10.97 | 9.88 | 403 | 20.85
> | 0.13 |
> | scroll | 1.28 | 0.08 | 4 | 1.37
> | 0.00 |
> | smie | 3.07 | 0.94 | 46 | 4.00
> | 0.01 |
>
> |--------------------+----------------+------------+---------+-------------+-----------------|
>
> `emacs-27` (i.e. commit d7f4cc0974645cc6a295740afe85c6e21d956119)
>
> | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s)
> | tot avg err (s) |
>
> |--------------------+----------------+------------+---------+-------------+-----------------|
> | bubble | 8.85 | 8.98 | 503 | 17.84
> | 0.02 |
> | bubble-no-cons | 18.36 | 0.07 | 4 | 18.43
> | 0.00 |
> | bytecomp | 2.87 | 2.45 | 134 | 5.32
> | 0.00 |
> | dhrystone | 17.04 | 0.00 | 0 | 17.04
> | 0.00 |
> | eieio | 5.25 | 3.67 | 204 | 8.92
> | 0.01 |
> | fibn | 6.26 | 0.00 | 0 | 6.26
> | 0.00 |
> | fibn-rec | 12.41 | 0.00 | 0 | 12.41
> | 0.01 |
> | fibn-tc | 9.84 | 0.00 | 0 | 9.84
> | 0.01 |
> | flet | 25.14 | 0.00 | 0 | 25.14
> | 0.01 |
> | inclist | 31.55 | 0.02 | 1 | 31.57
> | 0.05 |
> | inclist-type-hints | 42.77 | 0.02 | 1 | 42.79
> | 0.01 |
> | listlen-tc | 9.92 | 0.00 | 0 | 9.92
> | 0.03 |
> | map-closure | 15.90 | 0.00 | 0 | 15.90
> | 0.03 |
> | nbody | 6.74 | 15.23 | 839 | 21.96
> | 0.04 |
> | pack-unpack-old | 5.65 | 1.65 | 92 | 7.30
> | 0.01 |
> | pcase | 23.63 | 0.00 | 0 | 23.63
> | 0.00 |
> | pidigits | 10.39 | 10.10 | 457 | 20.49
> | 0.19 |
> | smie | 3.39 | 0.98 | 54 | 4.37
> | 0.00 |
>
> |--------------------+----------------+------------+---------+-------------+-----------------|
>
>
> -- Stefan
And here's `emacs-26` (i.e. commit 7497ee44b471f69ce59d131a6dece261e871534f)
| test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) |
tot avg err (s) |
|--------------------+----------------+------------+---------+-------------+-----------------|
| bubble | 10.93 | 4.56 | 319 | 15.49 |
0.05 |
| bubble-no-cons | 21.20 | 0.03 | 2 | 21.23 |
0.00 |
| bytecomp | 3.04 | 1.24 | 84 | 4.28 |
0.02 |
| dhrystone | 18.65 | 0.00 | 0 | 18.65 |
0.02 |
| eieio | 5.35 | 1.89 | 129 | 7.24 |
0.03 |
| fibn | 7.26 | 0.00 | 0 | 7.26 |
0.00 |
| fibn-rec | 10.85 | 0.00 | 0 | 10.85 |
0.00 |
| fibn-tc | 9.38 | 0.00 | 0 | 9.38 |
0.00 |
| flet | 20.40 | 0.00 | 0 | 20.40 |
0.00 |
| inclist | 23.13 | 0.00 | 0 | 23.13 |
0.01 |
| inclist-type-hints | 30.49 | 0.00 | 0 | 30.49 |
0.00 |
| listlen-tc | 10.21 | 0.00 | 0 | 10.21 |
0.03 |
| map-closure | 14.00 | 0.00 | 0 | 14.00 |
0.00 |
| nbody | 7.11 | 7.56 | 531 | 14.67 |
0.04 |
| pack-unpack-old | 6.38 | 0.83 | 58 | 7.21 |
0.00 |
| pcase | 27.48 | 0.00 | 0 | 27.48 |
0.00 |
| pidigits | 0.98 | 0.17 | 12 | 1.15 |
0.00 |
| smie | 3.96 | 0.46 | 32 | 4.42 |
0.01 |
|--------------------+----------------+------------+---------+-------------+-----------------|
[ I'm having trouble building `emacs-25` ("cannot open
`m4/count-leading-zeros.m4'" and things like that), so I think I'll stop
here. ]
Stefan