├── .gitignore ├── README.md ├── cpu ├── amd-ryzen-9900X.org ├── intel-core-15-12500H.org ├── amd-ryzen-9800x3d.org ├── intel-atom-z520.org ├── intel-core-i5-2520m.org ├── intel-core-i5-7500T.org ├── intel-core-i7-5600U.org ├── intel-celeron-2957u.org ├── intel-i7-9750h.org ├── intel-core-2-t9600.org ├── intel-core-i7-1355U.org ├── intel-i7-2630qm.org ├── amd-ryzen-5700U.org ├── apple-m3.org ├── intel-core-i7-12700H.org ├── amd-ryzen-5900x.org ├── intel-i7-10600u.org ├── intel-i5-1350P.org ├── intel-i9-11900k.org ├── amd-ryzen-5900x-cpbotha.org ├── amd-ryzen-5700g.org ├── intel-i3-14100F.org ├── apple-m1.org ├── intel-i9-9980hk.org ├── apple-m4.org ├── amd-ryzen-7950x.org └── apple-m2.org └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | *~ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # native-comp-elisp-benchmarks — submit a PR with your own benchmark results! 2 | 3 | This is a repo of elisp-benchmarks with native compilation run on different CPUs with different settings. 4 | 5 | ## High scores 6 | 7 | 1. AMD Ryzen 7950X: 14.36s 8 | 2. AMD Ryzen 9900X: 15.04s 9 | 3. Apple Silicon M4: 16.01s 10 | 4. Intel Core i7-12700H: 19.22s 11 | 5. AMD Ryzen 5900X: 20s 12 | 6. AMD Ryzen 9800X3D: 20.28s 13 | 7. AMD Ryzen 5700G: 20.79s 14 | 8. Intel i3 14100F: 20.87s 15 | 9. Intel i5 12500H: 21.37s 16 | 10. Apple Silicon M3: 24.13s 17 | 18 | ## Submit your own 19 | 20 | Submit an org file with your benchmark results! 21 | 22 | 0. Install the `elisp-benchmarks` package from ELPA: https://elpa.gnu.org/packages/elisp-benchmarks.html 23 | 1. Run the `elisp-benchmarks-run` command to run the test and create the test results buffer 24 | 2. Save the buffer as `cpu-name.org` in the `cpu/` folder 25 | 3. Above the test results, Add a "Specs" section with your full CPU name, OS name + version, Emacs version, and `elisp-benchmarks` version (see existing CPU org files for an example) 26 | 4. You can optionally add a "Notes" section between "Specs" and "Results" 27 | 28 | It's OK to adjust Emacs settings to get a higher benchmark score. Just document what settings you used. 29 | 30 | I am not trying to be extremely scientific by strictly controlling for all variables (OS, distro, build flags, motherboard, background services, etc). This is just meant to be fun and give us some rough perspective on how well Emacs is running with native compilation on different CPUs and settings. 31 | 32 | If we get lots of results, we can start organizing by OS, Emacs version, etc. 33 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-9900X.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | - CPU: AMD Ryzen 9 9900X 3 | - OS: NixOS 25.11 (Xantusia) x86_64 4 | - Emacs: GNU Emacs 30.1 5 | - Benchmarks: 1.16 6 | 7 | * Notes 8 | only notable thing is that Its Doom emacs with little to no customization 9 | 10 | 11 | * Results 12 | 13 | | test | non-gc (s) | gc (s) | gcs | total (s) | err | 14 | |--------------------+------------+--------+-----+-----------+-----| 15 | | bubble | 0.34 | 0.07 | 1 | 0.41 | 2% | 16 | | bubble-no-cons | 0.48 | 0.00 | 0 | 0.48 | 0% | 17 | | bytecomp | 0.55 | 0.05 | 1 | 0.60 | 0% | 18 | | dhrystone | 1.00 | 0.00 | 0 | 1.00 | 0% | 19 | | eieio | 0.41 | 0.09 | 2 | 0.51 | 1% | 20 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 2% | 21 | | fibn-named-let | 0.65 | 0.00 | 0 | 0.65 | 0% | 22 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 9% | 23 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0% | 24 | | flet | 0.91 | 0.00 | 0 | 0.91 | 0% | 25 | | font-lock | 0.30 | 0.00 | 0 | 0.30 | 0% | 26 | | inclist | 0.57 | 0.00 | 0 | 0.57 | 0% | 27 | | inclist-type-hints | 0.56 | 0.00 | 0 | 0.56 | 0% | 28 | | listlen-tc | 0.08 | 0.00 | 0 | 0.08 | 0% | 29 | | map-closure | 2.30 | 0.00 | 0 | 2.30 | 0% | 30 | | nbody | 0.65 | 0.11 | 1 | 0.76 | 1% | 31 | | pack-unpack | 0.12 | 0.00 | 0 | 0.12 | 0% | 32 | | pack-unpack-old | 0.22 | 0.05 | 1 | 0.26 | 0% | 33 | | pcase | 1.39 | 0.00 | 0 | 1.39 | 0% | 34 | | pidigits | 1.70 | 0.68 | 5 | 2.38 | 0% | 35 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0% | 36 | | scroll-nonascii | 0.00 | 0.00 | 0 | 0.00 | 0% | 37 | | smie | 0.60 | 0.00 | 0 | 0.60 | 0% | 38 | | smie-nonascii | 1.16 | 0.00 | 0 | 1.16 | 0% | 39 | |--------------------+------------+--------+-----+-----------+-----| 40 | | total | 13.98 | 1.06 | 11 | 15.04 | 0% | 41 | -------------------------------------------------------------------------------- /cpu/intel-core-15-12500H.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | - CPU: 12th Gen Intel Core i5-12500H 3 | - OS: NixOS 25.11 (Xantusia) x86_64 4 | - Emacs: GNU Emacs 30.1 5 | - Benchmarks: 1.16 6 | 7 | * Notes 8 | only notable thing is that Its Doom emacs with little to no customization 9 | 10 | * Results 11 | 12 | | test | non-gc (s) | gc (s) | gcs | total (s) | err | 13 | |--------------------+------------+--------+-----+-----------+-----| 14 | | bubble | 0.46 | 0.09 | 1 | 0.56 | 3% | 15 | | bubble-no-cons | 0.61 | 0.00 | 0 | 0.61 | 1% | 16 | | bytecomp | 0.85 | 0.05 | 1 | 0.90 | 1% | 17 | | dhrystone | 1.54 | 0.00 | 0 | 1.54 | 0% | 18 | | eieio | 0.62 | 0.10 | 2 | 0.72 | 1% | 19 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 5% | 20 | | fibn-named-let | 1.10 | 0.00 | 0 | 1.10 | 0% | 21 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 3% | 22 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0% | 23 | | flet | 1.04 | 0.00 | 0 | 1.04 | 0% | 24 | | font-lock | 0.42 | 0.00 | 0 | 0.42 | 1% | 25 | | inclist | 1.33 | 0.00 | 0 | 1.33 | 1% | 26 | | inclist-type-hints | 0.81 | 0.00 | 0 | 0.81 | 1% | 27 | | listlen-tc | 0.12 | 0.00 | 0 | 0.12 | 0% | 28 | | map-closure | 3.02 | 0.00 | 0 | 3.02 | 1% | 29 | | nbody | 0.91 | 0.12 | 1 | 1.02 | 2% | 30 | | pack-unpack | 0.18 | 0.00 | 0 | 0.18 | 1% | 31 | | pack-unpack-old | 0.30 | 0.05 | 1 | 0.35 | 1% | 32 | | pcase | 1.95 | 0.00 | 0 | 1.95 | 0% | 33 | | pidigits | 2.45 | 0.58 | 5 | 3.03 | 1% | 34 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0% | 35 | | scroll-nonascii | 0.00 | 0.00 | 0 | 0.00 | 0% | 36 | | smie | 0.91 | 0.00 | 0 | 0.91 | 0% | 37 | | smie-nonascii | 1.75 | 0.00 | 0 | 1.75 | 1% | 38 | |--------------------+------------+--------+-----+-----------+-----| 39 | | total | 20.38 | 0.98 | 11 | 21.37 | 0% | 40 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-9800x3d.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: AMD Ryzen 7 9800XD 4 | - OS: NixOS Unstable 5 | - Emacs: 30 6 | - Benchmarks: 1.16 7 | 8 | * Notes 9 | 10 | Running Emacs "pure GTK" under Wayland and GNOME, with GTK4 likely 11 | providing Vulkan acceleration for drawing applications. 12 | 13 | * Results 14 | 15 | | test | non-gc (s) | gc (s) | gcs | total (s) | err | 16 | |--------------------+------------+--------+-----+-----------+-----| 17 | | bubble | 0.34 | 0.07 | 1 | 0.41 | 1% | 18 | | bubble-no-cons | 0.53 | 0.00 | 0 | 0.53 | 2% | 19 | | bytecomp | 1.70 | 0.84 | 24 | 2.54 | 1% | 20 | | dhrystone | 0.90 | 0.00 | 0 | 0.90 | 0% | 21 | | eieio | 0.43 | 0.59 | 19 | 1.02 | 1% | 22 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 12% | 23 | | fibn-named-let | 0.69 | 0.00 | 0 | 0.69 | 0% | 24 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 11% | 25 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 1% | 26 | | flet | 0.97 | 0.00 | 0 | 0.97 | 0% | 27 | | font-lock | 0.29 | 0.10 | 3 | 0.39 | 1% | 28 | | inclist | 0.51 | 0.00 | 0 | 0.51 | 0% | 29 | | inclist-type-hints | 0.40 | 0.00 | 0 | 0.40 | 0% | 30 | | listlen-tc | 0.10 | 0.00 | 0 | 0.10 | 0% | 31 | | map-closure | 2.48 | 0.00 | 0 | 2.48 | 0% | 32 | | nbody | 0.68 | 0.12 | 1 | 0.80 | 0% | 33 | | pack-unpack | 0.12 | 0.16 | 5 | 0.28 | 0% | 34 | | pack-unpack-old | 0.23 | 0.27 | 9 | 0.50 | 0% | 35 | | pcase | 1.48 | 0.00 | 0 | 1.48 | 0% | 36 | | pidigits | 1.65 | 2.39 | 47 | 4.04 | 0% | 37 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0% | 38 | | scroll-nonascii | 0.00 | 0.00 | 0 | 0.00 | 0% | 39 | | smie | 0.62 | 0.19 | 5 | 0.82 | 2% | 40 | | smie-nonascii | 1.20 | 0.23 | 6 | 1.42 | 0% | 41 | |--------------------+------------+--------+-----+-----------+-----| 42 | | total | 15.31 | 4.97 | 121 | 20.28 | 0% | 43 | -------------------------------------------------------------------------------- /cpu/intel-atom-z520.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz 4 | - Hardware: Sony VAIO VGN-P19VRN 5 | - OS: Debian 11 6 | - Emacs: 28.2 (Lucid) 7 | - Benchmarks: 1.14 8 | 9 | * Results 10 | 11 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 12 | |--------------------+----------------+------------+---------+-------------+-----------------| 13 | | bubble | 14.04 | 2.18 | 1 | 16.22 | 1.84 | 14 | | bubble-no-cons | 24.22 | 0.00 | 0 | 24.22 | 0.20 | 15 | | bytecomp | 22.32 | 8.38 | 22 | 30.69 | 2.99 | 16 | | dhrystone | 41.08 | 0.00 | 0 | 41.08 | 0.06 | 17 | | eieio | 19.35 | 10.80 | 29 | 30.16 | 0.34 | 18 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 19 | | fibn-named-let | 76.79 | 103.28 | 233 | 180.07 | 0.92 | 20 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-tc | 0.11 | 0.00 | 0 | 0.11 | 0.00 | 22 | | flet | 31.79 | 0.00 | 0 | 31.79 | 0.32 | 23 | | inclist | 15.69 | 0.00 | 0 | 15.69 | 0.36 | 24 | | inclist-type-hints | 6.80 | 0.00 | 0 | 6.80 | 0.14 | 25 | | listlen-tc | 0.95 | 0.00 | 0 | 0.95 | 0.02 | 26 | | map-closure | 107.79 | 0.00 | 0 | 107.79 | 0.37 | 27 | | nbody | 24.41 | 3.19 | 1 | 27.60 | 3.81 | 28 | | pack-unpack | 5.83 | 2.97 | 8 | 8.80 | 0.02 | 29 | | pack-unpack-old | 8.43 | 5.56 | 15 | 13.99 | 0.14 | 30 | | pcase | 17.36 | 0.00 | 0 | 17.36 | 0.71 | 31 | | pidigits | 66.80 | 42.69 | 92 | 109.49 | 0.72 | 32 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | smie | 33.37 | 4.92 | 10 | 38.29 | 1.37 | 34 | |--------------------+----------------+------------+---------+-------------+-----------------| 35 | | total | 517.14 | 183.97 | 411 | 701.10 | 5.58 | 36 | -------------------------------------------------------------------------------- /cpu/intel-core-i5-2520m.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz 4 | - Hardware: Lenovo Thinkpad X220 5 | - OS: Debian 11 6 | - Emacs: 28.2 (Lucid) 7 | - Benchmarks: 1.14 8 | 9 | * Results 10 | 11 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 12 | |--------------------+----------------+------------+---------+-------------+-----------------| 13 | | bubble | 2.19 | 0.29 | 1 | 2.47 | 0.12 | 14 | | bubble-no-cons | 3.46 | 0.00 | 0 | 3.46 | 0.02 | 15 | | bytecomp | 5.51 | 9.90 | 56 | 15.41 | 0.11 | 16 | | dhrystone | 5.75 | 0.00 | 0 | 5.75 | 0.05 | 17 | | eieio | 2.93 | 2.71 | 15 | 5.63 | 0.02 | 18 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 19 | | fibn-named-let | 2.32 | 0.00 | 0 | 2.32 | 0.01 | 20 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-tc | 0.02 | 0.00 | 0 | 0.02 | 0.00 | 22 | | flet | 5.18 | 0.00 | 0 | 5.18 | 0.08 | 23 | | inclist | 1.46 | 0.00 | 0 | 1.46 | 0.04 | 24 | | inclist-type-hints | 1.22 | 0.00 | 0 | 1.22 | 0.03 | 25 | | listlen-tc | 0.18 | 0.00 | 0 | 0.18 | 0.00 | 26 | | map-closure | 13.71 | 0.00 | 0 | 13.71 | 0.11 | 27 | | nbody | 3.16 | 0.49 | 1 | 3.65 | 0.07 | 28 | | pack-unpack | 0.97 | 0.70 | 4 | 1.67 | 0.02 | 29 | | pack-unpack-old | 2.90 | 1.39 | 8 | 4.30 | 0.05 | 30 | | pcase | 2.20 | 0.00 | 0 | 2.20 | 0.01 | 31 | | pidigits | 7.22 | 8.07 | 37 | 15.29 | 0.27 | 32 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | smie | 2.98 | 0.93 | 5 | 3.91 | 0.07 | 34 | |--------------------+----------------+------------+---------+-------------+-----------------| 35 | | total | 63.36 | 24.48 | 127 | 87.83 | 0.37 | 36 | -------------------------------------------------------------------------------- /cpu/intel-core-i5-7500T.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel(R) Core(TM) i5-7500T CPU @ 2.70GHz 4 | - Hardware: DELL Optiplex 5050 5 | - OS: Debian 11 6 | - Emacs: 28.2 (Lucid) 7 | - Benchmarks: 1.14 8 | 9 | * Results 10 | 11 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 12 | |--------------------+----------------+------------+---------+-------------+-----------------| 13 | | bubble | 1.68 | 0.20 | 1 | 1.88 | 0.05 | 14 | | bubble-no-cons | 2.73 | 0.00 | 0 | 2.73 | 0.01 | 15 | | bytecomp | 1.67 | 2.06 | 19 | 3.74 | 0.03 | 16 | | dhrystone | 3.40 | 0.00 | 0 | 3.40 | 0.00 | 17 | | eieio | 1.46 | 2.06 | 19 | 3.52 | 0.01 | 18 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 19 | | fibn-named-let | 1.82 | 0.00 | 0 | 1.82 | 0.00 | 20 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 22 | | flet | 3.44 | 0.00 | 0 | 3.44 | 0.01 | 23 | | inclist | 1.61 | 0.00 | 0 | 1.61 | 0.01 | 24 | | inclist-type-hints | 1.52 | 0.00 | 0 | 1.52 | 0.00 | 25 | | listlen-tc | 0.18 | 0.00 | 0 | 0.18 | 0.00 | 26 | | map-closure | 8.69 | 0.00 | 0 | 8.69 | 0.01 | 27 | | nbody | 2.15 | 0.37 | 1 | 2.52 | 0.06 | 28 | | pack-unpack | 0.61 | 0.54 | 5 | 1.15 | 0.00 | 29 | | pack-unpack-old | 1.66 | 1.08 | 10 | 2.75 | 0.01 | 30 | | pcase | 2.25 | 0.00 | 0 | 2.25 | 0.00 | 31 | | pidigits | 6.09 | 6.23 | 46 | 12.32 | 0.03 | 32 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | smie | 2.03 | 0.56 | 5 | 2.59 | 0.02 | 34 | |--------------------+----------------+------------+---------+-------------+-----------------| 35 | | total | 43.01 | 13.10 | 106 | 56.12 | 0.09 | 36 | -------------------------------------------------------------------------------- /cpu/intel-core-i7-5600U.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz 4 | - Hardware: Lenovo Thinkpad T450s 5 | - OS: Debian 11 6 | - Emacs: 28.2 (Lucid) 7 | - Benchmarks: 1.14 8 | 9 | * Results 10 | 11 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 12 | |--------------------+----------------+------------+---------+-------------+-----------------| 13 | | bubble | 1.64 | 0.25 | 1 | 1.89 | 0.02 | 14 | | bubble-no-cons | 2.71 | 0.00 | 0 | 2.71 | 0.01 | 15 | | bytecomp | 3.19 | 8.47 | 58 | 11.66 | 0.04 | 16 | | dhrystone | 2.98 | 0.00 | 0 | 2.98 | 0.03 | 17 | | eieio | 1.54 | 2.04 | 14 | 3.58 | 0.02 | 18 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 19 | | fibn-named-let | 1.84 | 0.00 | 0 | 1.84 | 0.01 | 20 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 22 | | flet | 3.35 | 0.00 | 0 | 3.35 | 0.00 | 23 | | inclist | 1.63 | 0.00 | 0 | 1.63 | 0.05 | 24 | | inclist-type-hints | 1.45 | 0.00 | 0 | 1.45 | 0.01 | 25 | | listlen-tc | 0.20 | 0.00 | 0 | 0.20 | 0.01 | 26 | | map-closure | 10.02 | 0.00 | 0 | 10.02 | 0.01 | 27 | | nbody | 1.98 | 0.44 | 1 | 2.42 | 0.03 | 28 | | pack-unpack | 0.64 | 0.44 | 3 | 1.08 | 0.01 | 29 | | pack-unpack-old | 1.78 | 1.02 | 7 | 2.79 | 0.05 | 30 | | pcase | 2.21 | 0.00 | 0 | 2.21 | 0.04 | 31 | | pidigits | 6.08 | 6.04 | 34 | 12.12 | 0.04 | 32 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | smie | 2.31 | 0.64 | 4 | 2.96 | 0.17 | 34 | |--------------------+----------------+------------+---------+-------------+-----------------| 35 | | total | 45.56 | 19.34 | 122 | 64.90 | 0.20 | 36 | -------------------------------------------------------------------------------- /cpu/intel-celeron-2957u.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel Celeron 2975U 4 | - OS: GNU/Linux - 5.10.0 5 | - Hardware: Acer C720 6 | - Emacs: 29.0.50 (from master @ 2022-04-29) 7 | - Benchmarks: 1.14 8 | 9 | * Notes 10 | 11 | Debian 11 12 | 13 | * Results 14 | 15 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 16 | |--------------------+----------------+------------+---------+-------------+-----------------| 17 | | bubble | 2.13 | 0.40 | 1 | 2.53 | 0.02 | 18 | | bubble-no-cons | 2.42 | 0.00 | 0 | 2.42 | 0.00 | 19 | | bytecomp | 4.23 | 6.50 | 29 | 10.73 | 0.03 | 20 | | dhrystone | 4.87 | 0.00 | 0 | 4.87 | 0.01 | 21 | | eieio | 3.73 | 3.54 | 16 | 7.27 | 0.04 | 22 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 23 | | fibn-named-let | 3.74 | 0.00 | 0 | 3.74 | 0.01 | 24 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 25 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 26 | | flet | 3.70 | 0.00 | 0 | 3.70 | 0.00 | 27 | | inclist | 3.52 | 0.00 | 0 | 3.52 | 0.01 | 28 | | inclist-type-hints | 3.18 | 0.00 | 0 | 3.18 | 0.01 | 29 | | listlen-tc | 0.44 | 0.00 | 0 | 0.44 | 0.00 | 30 | | map-closure | 15.14 | 0.00 | 0 | 15.14 | 0.00 | 31 | | nbody | 4.26 | 0.79 | 1 | 5.06 | 0.04 | 32 | | pack-unpack | 0.98 | 0.88 | 4 | 1.87 | 0.02 | 33 | | pack-unpack-old | 3.09 | 1.76 | 8 | 4.85 | 0.03 | 34 | | pcase | 4.81 | 0.00 | 0 | 4.81 | 0.00 | 35 | | pidigits | 11.37 | 10.50 | 38 | 21.87 | 0.17 | 36 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 37 | | smie | 4.19 | 0.89 | 4 | 5.08 | 0.02 | 38 | |--------------------+----------------+------------+---------+-------------+-----------------| 39 | | total | 75.81 | 25.27 | 101 | 101.07 | 0.19 | 40 | -------------------------------------------------------------------------------- /cpu/intel-i7-9750h.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel i7-9750H 4 | - OS: Linux 5.17.5-arch1-1 x86_64 GNU/Linux 5 | - Emacs: 28.1-7 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | Emacs 28 installed from archlinux repo =emacs-nativecomp= 11 | 12 | * Results 13 | 14 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 15 | |--------------------+----------------+------------+---------+-------------+-----------------| 16 | | bubble | 1.28 | 0.16 | 1 | 1.44 | 0.05 | 17 | | bubble-no-cons | 2.07 | 0.00 | 0 | 2.07 | 0.05 | 18 | | bytecomp | 1.13 | 0.94 | 11 | 2.08 | 0.02 | 19 | | dhrystone | 2.64 | 0.00 | 0 | 2.64 | 0.03 | 20 | | eieio | 1.24 | 1.31 | 15 | 2.55 | 0.10 | 21 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 22 | | fibn-named-let | 1.46 | 0.00 | 0 | 1.46 | 0.05 | 23 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 24 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 25 | | flet | 2.50 | 0.00 | 0 | 2.50 | 0.12 | 26 | | inclist | 1.56 | 0.00 | 0 | 1.56 | 0.04 | 27 | | inclist-type-hints | 1.48 | 0.00 | 0 | 1.48 | 0.02 | 28 | | listlen-tc | 0.27 | 0.00 | 0 | 0.27 | 0.00 | 29 | | map-closure | 7.10 | 0.00 | 0 | 7.10 | 0.11 | 30 | | nbody | 1.68 | 0.31 | 1 | 1.99 | 0.17 | 31 | | pack-unpack | 0.44 | 0.26 | 3 | 0.70 | 0.01 | 32 | | pack-unpack-old | 0.48 | 0.62 | 7 | 1.11 | 0.02 | 33 | | pcase | 1.80 | 0.00 | 0 | 1.80 | 0.02 | 34 | | pidigits | 3.72 | 3.91 | 36 | 7.63 | 0.06 | 35 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 36 | | smie | 1.61 | 0.37 | 4 | 1.99 | 0.11 | 37 | |--------------------+----------------+------------+---------+-------------+-----------------| 38 | | total | 32.49 | 7.90 | 78 | 40.39 | 0.30 | 39 | -------------------------------------------------------------------------------- /cpu/intel-core-2-t9600.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel Core2 T9600 4 | - OS: GNU/Linux - 5.15.26 5 | - Hardware: Dell Latitude E6500 6 | - Emacs: 29.0.50 (from master @ 2022-03-29) 7 | - Benchmarks: 1.14 8 | 9 | * Notes 10 | 11 | Gentoo - relatively up to date. 12 | 13 | * Results 14 | 15 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 16 | |--------------------+----------------+------------+---------+-------------+-----------------| 17 | | bubble | 2.42 | 0.44 | 1 | 2.86 | 0.06 | 18 | | bubble-no-cons | 3.63 | 0.00 | 0 | 3.63 | 0.10 | 19 | | bytecomp | 2.49 | 5.59 | 29 | 8.08 | 0.08 | 20 | | dhrystone | 4.23 | 0.00 | 0 | 4.23 | 0.57 | 21 | | eieio | 2.81 | 3.13 | 16 | 5.94 | 0.17 | 22 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 23 | | fibn-named-let | 2.34 | 0.00 | 0 | 2.34 | 0.08 | 24 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 25 | | fibn-tc | 0.02 | 0.00 | 0 | 0.02 | 0.00 | 26 | | flet | 4.41 | 0.00 | 0 | 4.41 | 0.23 | 27 | | inclist | 1.73 | 0.00 | 0 | 1.73 | 0.04 | 28 | | inclist-type-hints | 1.40 | 0.00 | 0 | 1.40 | 0.04 | 29 | | listlen-tc | 0.18 | 0.00 | 0 | 0.18 | 0.00 | 30 | | map-closure | 9.09 | 0.00 | 0 | 9.09 | 0.22 | 31 | | nbody | 2.73 | 0.71 | 1 | 3.43 | 0.08 | 32 | | pack-unpack | 0.69 | 0.78 | 4 | 1.47 | 0.04 | 33 | | pack-unpack-old | 0.99 | 1.54 | 8 | 2.53 | 0.02 | 34 | | pcase | 2.53 | 0.00 | 0 | 2.53 | 0.07 | 35 | | pidigits | 12.29 | 9.80 | 39 | 22.10 | 0.05 | 36 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 37 | | smie | 3.14 | 0.88 | 4 | 4.02 | 0.02 | 38 | |--------------------+----------------+------------+---------+-------------+-----------------| 39 | | total | 57.13 | 22.86 | 102 | 79.99 | 0.70 | 40 | -------------------------------------------------------------------------------- /cpu/intel-core-i7-1355U.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | * CPU: Intel Core i7-1355U 4 | * OS: Debian 12 bookworm x86_64 Linux 6.1.0-21-amd64 5 | * Emacs: GNU Emacs 30.0.50 build date 2024-05-23. 6 | * Benchmarks: 1.16 7 | 8 | 9 | * Results 10 | 11 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 12 | |--------------------+----------------+------------+---------+-------------+-----------------| 13 | | bubble | 0.51 | 0.16 | 1 | 0.67 | 0.05 | 14 | | bubble-no-cons | 0.63 | 0.00 | 0 | 0.63 | 0.02 | 15 | | bytecomp | 1.25 | 0.96 | 8 | 2.21 | 0.11 | 16 | | dhrystone | 1.26 | 0.00 | 0 | 1.26 | 0.02 | 17 | | eieio | 0.67 | 1.20 | 10 | 1.87 | 0.02 | 18 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 19 | | fibn-named-let | 1.18 | 0.00 | 0 | 1.18 | 0.01 | 20 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 22 | | flet | 1.10 | 0.00 | 0 | 1.10 | 0.00 | 23 | | font-lock | 0.46 | 0.11 | 1 | 0.57 | 0.01 | 24 | | inclist | 1.14 | 0.00 | 0 | 1.14 | 0.05 | 25 | | inclist-type-hints | 0.91 | 0.00 | 0 | 0.91 | 0.01 | 26 | | listlen-tc | 0.20 | 0.00 | 0 | 0.20 | 0.00 | 27 | | map-closure | 3.27 | 0.00 | 0 | 3.27 | 0.08 | 28 | | nbody | 0.84 | 0.24 | 1 | 1.08 | 0.06 | 29 | | pack-unpack | 0.21 | 0.23 | 2 | 0.45 | 0.01 | 30 | | pack-unpack-old | 0.33 | 0.49 | 4 | 0.81 | 0.04 | 31 | | pcase | 1.58 | 0.00 | 0 | 1.58 | 0.02 | 32 | | pidigits | 2.54 | 3.32 | 24 | 5.86 | 0.30 | 33 | | scroll | 3.01 | 0.26 | 2 | 3.27 | 0.14 | 34 | | smie | 1.01 | 0.23 | 2 | 1.24 | 0.00 | 35 | |--------------------+----------------+------------+---------+-------------+-----------------| 36 | | total | 22.11 | 7.20 | 55 | 29.31 | 0.38 | 37 | -------------------------------------------------------------------------------- /cpu/intel-i7-2630qm.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Core i7-2630QM 4 | - OS: GNU/Linux 5.16 5 | - Emacs: 29 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | - OS: GNU/Linux 5.16.16-200.fc35.x86_64 11 | - Emacs: 29.0.50-1.20220329.git2b5ea36.fc35 12 | - Dell XPS L502X with 8-Gb RAM 13 | - emacs is pure=gtk, native compile 14 | - gui is sway-1.6.1 15 | 16 | * Results 17 | 18 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 19 | |--------------------+----------------+------------+---------+-------------+-----------------| 20 | | bubble | 3.17 | 0.54 | 1 | 3.71 | 0.15 | 21 | | bubble-no-cons | 4.91 | 0.00 | 0 | 4.91 | 0.01 | 22 | | bytecomp | 4.44 | 4.33 | 12 | 8.76 | 0.26 | 23 | | dhrystone | 6.61 | 0.00 | 0 | 6.61 | 0.05 | 24 | | eieio | 4.69 | 2.58 | 7 | 7.28 | 0.09 | 25 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 26 | | fibn-named-let | 3.49 | 0.00 | 0 | 3.49 | 0.04 | 27 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 28 | | fibn-tc | 0.02 | 0.00 | 0 | 0.02 | 0.00 | 29 | | flet | 8.66 | 0.00 | 0 | 8.66 | 0.25 | 30 | | inclist | 8.63 | 0.00 | 0 | 8.63 | 0.78 | 31 | | inclist-type-hints | 7.80 | 0.00 | 0 | 7.80 | 0.54 | 32 | | listlen-tc | 0.23 | 0.00 | 0 | 0.23 | 0.00 | 33 | | map-closure | 12.22 | 0.00 | 0 | 12.22 | 0.20 | 34 | | nbody | 5.22 | 0.79 | 1 | 6.01 | 0.28 | 35 | | pack-unpack | 1.14 | 0.37 | 1 | 1.51 | 0.02 | 36 | | pack-unpack-old | 1.62 | 1.09 | 3 | 2.71 | 0.04 | 37 | | pcase | 4.70 | 0.00 | 0 | 4.70 | 0.04 | 38 | | pidigits | 12.00 | 7.02 | 16 | 19.02 | 0.26 | 39 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 40 | | smie | 4.50 | 0.74 | 2 | 5.23 | 0.05 | 41 | |--------------------+----------------+------------+---------+-------------+-----------------| 42 | | total | 94.06 | 17.45 | 43 | 111.51 | 1.12 | 43 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-5700U.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | - CPU: AMD Ryzen 7 5700U with Radeon Graphics 3 | - OS: FreeBSD FreeBSD 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 GENERIC amd64 4 | - Emacs: 28.2 5 | - Benchmarks: 1.14 6 | 7 | * Notes 8 | #+BEGIN_SRC sh 9 | GNU Emacs 28.2 (build 1, amd64-portbld-freebsd13.2, Motif Version 2.3.8, cairo version 1.17.4) 10 | #+END_SRC 11 | 12 | * Results 13 | 14 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 15 | |--------------------+----------------+------------+---------+-------------+-----------------| 16 | | bubble | 1.06 | 0.15 | 1 | 1.21 | 0.01 | 17 | | bubble-no-cons | 1.88 | 0.00 | 0 | 1.88 | 0.06 | 18 | | bytecomp | 1.18 | 1.34 | 30 | 2.52 | 0.02 | 19 | | dhrystone | 2.00 | 0.00 | 0 | 2.00 | 0.01 | 20 | | eieio | 1.14 | 1.80 | 40 | 2.95 | 0.01 | 21 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 22 | | fibn-named-let | 1.15 | 0.00 | 0 | 1.15 | 0.08 | 23 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 24 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 25 | | flet | 2.17 | 0.00 | 0 | 2.17 | 0.10 | 26 | | inclist | 0.86 | 0.00 | 0 | 0.86 | 0.01 | 27 | | inclist-type-hints | 0.71 | 0.00 | 0 | 0.71 | 0.01 | 28 | | listlen-tc | 0.10 | 0.00 | 0 | 0.10 | 0.00 | 29 | | map-closure | 6.44 | 0.00 | 0 | 6.44 | 0.05 | 30 | | nbody | 1.55 | 0.26 | 1 | 1.82 | 0.04 | 31 | | pack-unpack | 0.35 | 0.45 | 10 | 0.81 | 0.00 | 32 | | pack-unpack-old | 0.50 | 0.95 | 21 | 1.44 | 0.01 | 33 | | pcase | 1.61 | 0.00 | 0 | 1.61 | 0.02 | 34 | | pidigits | 4.73 | 5.05 | 98 | 9.79 | 0.03 | 35 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 36 | | smie | 1.31 | 0.52 | 11 | 1.83 | 0.03 | 37 | |--------------------+----------------+------------+---------+-------------+-----------------| 38 | | total | 28.75 | 10.53 | 212 | 39.28 | 0.16 | 39 | -------------------------------------------------------------------------------- /cpu/apple-m3.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Apple M3 4 | - OS: macOS Sequoia 15.2 5 | - Emacs: 31.0.50 6 | - Benchmark: 1.16 7 | 8 | * Notes 9 | 10 | Compiled on Darwin with =gcc-libjit= from [[https://github.com/iains/gcc-14-branch][GCC-14.2-darwin-r2]]. 11 | 12 | * Results 13 | 14 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 15 | |--------------------+----------------+------------+---------+-------------+-----------------| 16 | | bubble | 0.28 | 0.06 | 1 | 0.34 | 0.00 | 17 | | bubble-no-cons | 0.36 | 0.01 | 1 | 0.37 | 0.00 | 18 | | bytecomp | 0.66 | 0.77 | 74 | 1.43 | 0.03 | 19 | | dhrystone | 1.24 | 0.00 | 0 | 1.24 | 0.00 | 20 | | eieio | 0.53 | 0.91 | 95 | 1.44 | 0.01 | 21 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 22 | | fibn-named-let | 0.55 | 0.00 | 0 | 0.55 | 0.00 | 23 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 24 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 25 | | flet | 0.57 | 0.00 | 0 | 0.57 | 0.00 | 26 | | font-lock | 0.36 | 0.17 | 17 | 0.53 | 0.00 | 27 | | inclist | 0.72 | 0.00 | 0 | 0.72 | 0.01 | 28 | | inclist-type-hints | 0.63 | 0.00 | 0 | 0.63 | 0.00 | 29 | | listlen-tc | 0.10 | 0.00 | 0 | 0.10 | 0.00 | 30 | | map-closure | 2.76 | 0.00 | 0 | 2.76 | 0.03 | 31 | | nbody | 0.77 | 0.14 | 1 | 0.91 | 0.01 | 32 | | pack-unpack | 0.15 | 0.24 | 24 | 0.38 | 0.00 | 33 | | pack-unpack-old | 0.22 | 0.44 | 46 | 0.67 | 0.01 | 34 | | pcase | 1.53 | 0.00 | 0 | 1.53 | 0.00 | 35 | | pidigits | 5.39 | 3.40 | 229 | 8.80 | 0.04 | 36 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 37 | | smie | 0.86 | 0.29 | 27 | 1.15 | 0.03 | 38 | |--------------------+----------------+------------+---------+-------------+-----------------| 39 | | total | 17.70 | 6.44 | 516 | 24.13 | 0.07 | 40 | -------------------------------------------------------------------------------- /cpu/intel-core-i7-12700H.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel(R) Core(TM) i7-12700H @ 4.70 GHz 4 | - OS: Arch Linux (x86_64) 5 | - Kernel: 6.17.1-xanmod1-1-edge-x64v3 6 | 7 | - Emacs: GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.50, cairo version 1.18.4) 8 | - Benchmarks: 1.16 9 | 10 | 11 | * Results 12 | 13 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 14 | |--------------------+----------------+------------+---------+-------------+-----------------| 15 | | bubble | 0.59 | 0.06 | 1 | 0.65 | 0.04 | 16 | | bubble-no-cons | 0.70 | 0.00 | 0 | 0.70 | 0.01 | 17 | | bytecomp | 0.98 | 0.00 | 0 | 0.98 | 0.04 | 18 | | dhrystone | 1.43 | 0.00 | 0 | 1.43 | 0.02 | 19 | | eieio | 0.72 | 0.04 | 1 | 0.76 | 0.01 | 20 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 21 | | fibn-named-let | 0.69 | 0.00 | 0 | 0.69 | 0.03 | 22 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 23 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 24 | | flet | 1.25 | 0.00 | 0 | 1.25 | 0.03 | 25 | | font-lock | 0.42 | 0.00 | 0 | 0.42 | 0.01 | 26 | | inclist | 0.86 | 0.00 | 0 | 0.86 | 0.04 | 27 | | inclist-type-hints | 0.63 | 0.00 | 0 | 0.63 | 0.01 | 28 | | listlen-tc | 0.11 | 0.00 | 0 | 0.11 | 0.00 | 29 | | map-closure | 3.35 | 0.00 | 0 | 3.35 | 0.02 | 30 | | nbody | 0.83 | 0.10 | 1 | 0.93 | 0.10 | 31 | | pack-unpack | 0.20 | 0.00 | 0 | 0.20 | 0.01 | 32 | | pack-unpack-old | 0.30 | 0.00 | 0 | 0.30 | 0.01 | 33 | | pcase | 1.91 | 0.00 | 0 | 1.91 | 0.07 | 34 | | pidigits | 2.65 | 0.36 | 2 | 3.01 | 0.41 | 35 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 36 | | smie | 1.06 | 0.00 | 0 | 1.06 | 0.02 | 37 | |--------------------+----------------+------------+---------+-------------+-----------------| 38 | | total | 18.67 | 0.55 | 5 | 19.22 | 0.43 | 39 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-5900x.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: AMD Ryzen 5900X 4 | - OS: GNU/Linux 5.14 5 | - Emacs: 28 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | On GNU Guix: 11 | 12 | #+BEGIN_SRC sh 13 | git clone https://github.com/flatwhatson/guix-channel.git 14 | guix install -L ./guix-channel emacs-native-comp 15 | guix pull 16 | guix search emacs-native-comp 17 | guix install emacs-native-comp 18 | #+END_SRC 19 | 20 | * Results 21 | 22 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 23 | |--------------------+----------------+------------+---------+-------------+-----------------| 24 | | bubble | 1.04 | 0.12 | 1 | 1.16 | 0.01 | 25 | | bubble-no-cons | 1.71 | 0.00 | 0 | 1.71 | 0.05 | 26 | | bytecomp | 0.89 | 0.92 | 14 | 1.81 | 0.02 | 27 | | dhrystone | 2.17 | 0.00 | 0 | 2.17 | 0.01 | 28 | | eieio | 0.96 | 1.25 | 19 | 2.21 | 0.00 | 29 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 30 | | fibn-named-let | 1.16 | 0.00 | 0 | 1.16 | 0.01 | 31 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 32 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 33 | | flet | 2.08 | 0.00 | 0 | 2.08 | 0.01 | 34 | | inclist | 0.92 | 0.00 | 0 | 0.92 | 0.00 | 35 | | inclist-type-hints | 0.89 | 0.00 | 0 | 0.89 | 0.00 | 36 | | listlen-tc | 0.09 | 0.00 | 0 | 0.09 | 0.00 | 37 | | map-closure | 5.25 | 0.00 | 0 | 5.25 | 0.09 | 38 | | nbody | 1.20 | 0.21 | 1 | 1.42 | 0.04 | 39 | | pack-unpack | 0.29 | 0.33 | 5 | 0.62 | 0.00 | 40 | | pack-unpack-old | 0.37 | 0.65 | 10 | 1.02 | 0.01 | 41 | | pcase | 1.52 | 0.00 | 0 | 1.52 | 0.02 | 42 | | pidigits | 2.92 | 3.43 | 46 | 6.35 | 0.04 | 43 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 44 | | smie | 1.03 | 0.34 | 5 | 1.37 | 0.01 | 45 | |--------------------+----------------+------------+---------+-------------+-----------------| 46 | | total | 24.48 | 7.26 | 101 | 31.73 | 0.13 | 47 | -------------------------------------------------------------------------------- /cpu/intel-i7-10600u.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel i7-10600U 4 | - OS: WSLv2 under Windows 10 5 | - Emacs: 28 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | Emacs 28 built from git on Ubuntu 20.04 under Windows 10 WSLv2 with: 11 | 12 | #+BEGIN_SRC sh 13 | CC=/usr/bin/gcc-10 ./configure --with-gnutls=yes --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --with-native-compilation --with-xml2 14 | #+END_SRC 15 | 16 | * Results 17 | 18 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 19 | |--------------------+----------------+------------+---------+-------------+-----------------| 20 | | bubble | 1.51 | 0.16 | 1 | 1.67 | 0.04 | 21 | | bubble-no-cons | 2.35 | 0.00 | 0 | 2.35 | 0.10 | 22 | | bytecomp | 1.68 | 1.33 | 18 | 3.01 | 0.05 | 23 | | dhrystone | 3.14 | 0.00 | 0 | 3.14 | 0.07 | 24 | | eieio | 1.47 | 1.62 | 24 | 3.09 | 0.06 | 25 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 26 | | fibn-named-let | 1.51 | 0.00 | 0 | 1.51 | 0.03 | 27 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 28 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 29 | | flet | 3.00 | 0.00 | 0 | 3.00 | 0.08 | 30 | | inclist | 1.28 | 0.00 | 0 | 1.28 | 0.04 | 31 | | inclist-type-hints | 1.12 | 0.00 | 0 | 1.12 | 0.07 | 32 | | listlen-tc | 0.11 | 0.00 | 0 | 0.11 | 0.01 | 33 | | map-closure | 7.93 | 0.00 | 0 | 7.93 | 0.35 | 34 | | nbody | 1.90 | 0.32 | 1 | 2.22 | 0.35 | 35 | | pack-unpack | 0.46 | 0.39 | 6 | 0.86 | 0.00 | 36 | | pack-unpack-old | 0.56 | 0.80 | 12 | 1.36 | 0.01 | 37 | | pcase | 1.81 | 0.00 | 0 | 1.81 | 0.02 | 38 | | pidigits | 5.18 | 4.71 | 59 | 9.89 | 0.11 | 39 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 40 | | smie | 2.16 | 0.49 | 7 | 2.65 | 0.06 | 41 | |--------------------+----------------+------------+---------+-------------+-----------------| 42 | | total | 37.20 | 9.83 | 128 | 47.02 | 0.55 | 43 | -------------------------------------------------------------------------------- /cpu/intel-i5-1350P.org: -------------------------------------------------------------------------------- 1 | * Spec 2 | 3 | - CPU: Intel i5 1350P 4 | - OS: Arch Linux (kernel 6.10.8) 5 | - Emacs: 29.4 6 | - Benchmarks: 1.16 7 | 8 | * Notes 9 | 10 | Emacs 29 installed from archlinux repo =emacs-nativecomp= 11 | 12 | Init.el for completeness: https://github.com/port19x/dotfiles/blob/dc5d28c8842ba846e6ff28455e3df6f10ed06397/init.el 13 | 14 | Laptop was plugged into power 15 | 16 | * Results 17 | 18 | #+begin_src elisp 19 | (setq gc-cons-threshold (* 8 1024 1024)) 20 | #+end_src 21 | 22 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 23 | |--------------------+----------------+------------+---------+-------------+-----------------| 24 | | bubble | 0.50 | 0.11 | 1 | 0.61 | 0.06 | 25 | | bubble-no-cons | 0.50 | 0.00 | 0 | 0.50 | 0.00 | 26 | | bytecomp | 1.07 | 1.86 | 34 | 2.93 | 0.18 | 27 | | dhrystone | 1.29 | 0.00 | 0 | 1.29 | 0.00 | 28 | | eieio | 0.61 | 0.93 | 18 | 1.54 | 0.06 | 29 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 30 | | fibn-named-let | 0.96 | 0.00 | 0 | 0.96 | 0.01 | 31 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 32 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | flet | 0.96 | 0.00 | 0 | 0.96 | 0.00 | 34 | | font-lock | 0.53 | 0.41 | 8 | 0.94 | 0.00 | 35 | | inclist | 1.26 | 0.00 | 0 | 1.26 | 0.01 | 36 | | inclist-type-hints | 1.22 | 0.00 | 0 | 1.22 | 0.01 | 37 | | listlen-tc | 0.17 | 0.00 | 0 | 0.17 | 0.00 | 38 | | map-closure | 2.88 | 0.00 | 0 | 2.88 | 0.00 | 39 | | nbody | 1.03 | 0.16 | 1 | 1.19 | 0.11 | 40 | | pack-unpack | 0.21 | 0.20 | 4 | 0.41 | 0.00 | 41 | | pack-unpack-old | 0.28 | 0.45 | 9 | 0.73 | 0.01 | 42 | | pcase | 1.34 | 0.00 | 0 | 1.34 | 0.00 | 43 | | pidigits | 2.64 | 2.62 | 43 | 5.26 | 0.03 | 44 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 45 | | smie | 0.78 | 0.26 | 5 | 1.04 | 0.01 | 46 | |--------------------+----------------+------------+---------+-------------+-----------------| 47 | | total | 18.23 | 7.00 | 123 | 25.23 | 0.23 | 48 | -------------------------------------------------------------------------------- /cpu/intel-i9-11900k.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Intel Core i9-11900K 4 | - OS: Windows 11 Pro 23H2 22631.4317 5 | - Emacs: 31.0.50 (=021c0ba116e00d20cb006e7441c20d21315ec202= from master @ 2024-11-02) 6 | - Benchmarks: 1.16 7 | 8 | * Notes 9 | Compiled using MSYS2 ucrt64 runtime. [[https://gist.github.com/LdBeth/d663a7d3ea27776bfe211241ad7fa5e5]] 10 | 11 | The Emacs installation directory and =.eln= file type are set to be 12 | excluded from Windows Defender Anti Virus scan. 13 | 14 | * Results 15 | 16 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 17 | |--------------------+----------------+------------+---------+-------------+-----------------| 18 | | bubble | 0.49 | 0.07 | 1 | 0.56 | 0.03 | 19 | | bubble-no-cons | 0.48 | 0.00 | 0 | 0.48 | 0.00 | 20 | | bytecomp | 0.94 | 0.18 | 11 | 1.12 | 0.02 | 21 | | dhrystone | 1.33 | 0.00 | 0 | 1.33 | 0.00 | 22 | | eieio | 0.86 | 0.22 | 14 | 1.08 | 0.00 | 23 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 24 | | fibn-named-let | 0.90 | 0.00 | 0 | 0.90 | 0.00 | 25 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 26 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 27 | | flet | 0.77 | 0.00 | 0 | 0.77 | 0.01 | 28 | | font-lock | 0.41 | 0.03 | 2 | 0.44 | 0.00 | 29 | | inclist | 0.88 | 0.00 | 0 | 0.88 | 0.01 | 30 | | inclist-type-hints | 0.83 | 0.00 | 0 | 0.83 | 0.00 | 31 | | listlen-tc | 0.10 | 0.00 | 0 | 0.10 | 0.00 | 32 | | map-closure | 3.56 | 0.00 | 0 | 3.56 | 0.04 | 33 | | nbody | 1.13 | 0.16 | 1 | 1.29 | 0.05 | 34 | | pack-unpack | 0.21 | 0.05 | 3 | 0.26 | 0.01 | 35 | | pack-unpack-old | 0.32 | 0.11 | 7 | 0.43 | 0.00 | 36 | | pcase | 1.65 | 0.00 | 0 | 1.65 | 0.00 | 37 | | pidigits | 4.34 | 1.95 | 34 | 6.28 | 1.58 | 38 | | scroll | 3.40 | 0.02 | 1 | 3.42 | 0.03 | 39 | | smie | 0.97 | 0.07 | 4 | 1.04 | 0.00 | 40 | |--------------------+----------------+------------+---------+-------------+-----------------| 41 | | total | 23.57 | 2.86 | 78 | 26.42 | 1.58 | 42 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-5900x-cpbotha.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: AMD Ryzen 5900X with 64GB DDR4-3600 4 | - OS: Ubuntu 20.04.5 LTS on WSL 0.67.6.0 on Windows 11 build 22622.601 5 | - GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-09-11 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | Using a heavily modified version of Mickey Petersen's docker setup, with =gcc-11 11 | libgccjit0 libgccjit-11-dev= installed from =ppa:ubuntu-toolchain-r/test=. 12 | 13 | #+BEGIN_SRC sh 14 | ./autogen.sh \ 15 | && ./configure CFLAGS='-g3 -O2' \ 16 | --with-native-compilation \ 17 | --with-mailutils \ 18 | --without-gconf \ 19 | --without-gsettings 20 | 21 | make clean && make -j 24 && make install 22 | 23 | # later: 24 | emacs -batch -l elisp-benchmarks.el -f elisp-benchmarks-run 25 | #+END_SRC 26 | 27 | * Results 28 | 29 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 30 | |--------------------+----------------+------------+---------+-------------+-----------------| 31 | | bubble | 0.57 | 0.07 | 1 | 0.63 | 0.03 | 32 | | bubble-no-cons | 0.59 | 0.00 | 0 | 0.59 | 0.00 | 33 | | bytecomp | 0.85 | 0.19 | 12 | 1.04 | 0.02 | 34 | | dhrystone | 1.70 | 0.00 | 0 | 1.70 | 0.00 | 35 | | eieio | 0.75 | 0.09 | 6 | 0.85 | 0.00 | 36 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 37 | | fibn-named-let | 1.02 | 0.00 | 0 | 1.02 | 0.00 | 38 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 39 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 40 | | flet | 0.97 | 0.00 | 0 | 0.97 | 0.00 | 41 | | inclist | 0.83 | 0.00 | 0 | 0.83 | 0.01 | 42 | | inclist-type-hints | 0.79 | 0.00 | 0 | 0.79 | 0.01 | 43 | | listlen-tc | 0.10 | 0.00 | 0 | 0.10 | 0.00 | 44 | | map-closure | 3.12 | 0.00 | 0 | 3.12 | 0.00 | 45 | | nbody | 1.09 | 0.17 | 1 | 1.26 | 0.05 | 46 | | pack-unpack | 0.23 | 0.02 | 1 | 0.25 | 0.01 | 47 | | pack-unpack-old | 0.35 | 0.05 | 3 | 0.39 | 0.00 | 48 | | pcase | 1.41 | 0.00 | 0 | 1.41 | 0.01 | 49 | | pidigits | 3.04 | 0.66 | 16 | 3.70 | 0.00 | 50 | | scroll | 0.42 | 0.00 | 0 | 0.42 | 0.00 | 51 | | smie | 0.92 | 0.02 | 1 | 0.94 | 0.00 | 52 | |--------------------+----------------+------------+---------+-------------+-----------------| 53 | | total | 18.74 | 1.26 | 41 | 20.00 | 0.07 | 54 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-5700g.org: -------------------------------------------------------------------------------- 1 | * Spec 2 | - CPU: AMD Ryzen 7 5700G 3 | - OS: Arch Linux (kernel 6.9.1 tkg) 4 | - Emacs: 30 5 | - Benchmarks: 1.16 6 | 7 | #+begin_src sh 8 | ./autogen.sh \ 9 | && ./configure CFLAGS="-march=native -Ofast -fno-finite-math-only -pipe \ 10 | -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta \ 11 | -fno-semantic-interposition" \ 12 | --with-modules --without-compress-install --with-x-toolkit=lucid \ 13 | --with-xft --with-xaw3d --without-toolkit-scroll-bars --without-gsettings \ 14 | --with-gconf --with-mailutils --with-native-compilation=aot --with-tree-sitter --without-cairo 15 | #+end_src 16 | 17 | ** Init.el 18 | #+begin_src elisp 19 | (setq native-comp-speed 3) 20 | 21 | ;; "C-h o 'native-comp-eln-load-path'" 22 | (native-compile-async "/usr/lib/emacs/30.0.50/native-lisp" 'recursively) 23 | 24 | (setq native-comp-compiler-options '("-march=znver3" "-Ofast" "-g0" "-fno-finite-math-only" "-fgraphite-identity" "-floop-nest-optimize" "-fdevirtualize-at-ltrans" "-fipa-pta" "-fno-semantic-interposition" "-flto=auto" "-fuse-linker-plugin")) 25 | 26 | (setq native-comp-driver-options '("-march=znver3" "-Ofast" "-g0" "-fno-finite-math-only" "-fgraphite-identity" "-floop-nest-optimize" "-fdevirtualize-at-ltrans" "-fipa-pta" "-fno-semantic-interposition" "-flto=auto" "-fuse-linker-plugin")) 27 | #+end_src 28 | 29 | * Results 30 | 31 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 32 | |--------------------+----------------+------------+---------+-------------+-----------------| 33 | | bubble | 0.54 | 0.07 | 1 | 0.61 | 0.06 | 34 | | bubble-no-cons | 0.73 | 0.00 | 0 | 0.73 | 0.00 | 35 | | bytecomp | 1.10 | 0.24 | 7 | 1.34 | 0.07 | 36 | | dhrystone | 1.52 | 0.00 | 0 | 1.52 | 0.03 | 37 | | eieio | 0.75 | 0.31 | 9 | 1.05 | 0.02 | 38 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 39 | | fibn-named-let | 0.78 | 0.00 | 0 | 0.78 | 0.01 | 40 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 41 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 42 | | flet | 0.90 | 0.00 | 0 | 0.90 | 0.00 | 43 | | font-lock | 0.73 | 0.14 | 4 | 0.87 | 0.02 | 44 | | inclist | 0.78 | 0.00 | 0 | 0.78 | 0.00 | 45 | | inclist-type-hints | 0.77 | 0.00 | 0 | 0.77 | 0.00 | 46 | | listlen-tc | 0.11 | 0.00 | 0 | 0.11 | 0.00 | 47 | | map-closure | 3.51 | 0.00 | 0 | 3.51 | 0.01 | 48 | | nbody | 0.97 | 0.11 | 1 | 1.08 | 0.06 | 49 | | pack-unpack | 0.20 | 0.07 | 2 | 0.27 | 0.01 | 50 | | pack-unpack-old | 0.34 | 0.13 | 4 | 0.48 | 0.01 | 51 | | pcase | 1.52 | 0.00 | 0 | 1.52 | 0.01 | 52 | | pidigits | 2.27 | 1.09 | 21 | 3.36 | 0.08 | 53 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 54 | | smie | 1.03 | 0.08 | 2 | 1.11 | 0.03 | 55 | |--------------------+----------------+------------+---------+-------------+-----------------| 56 | | total | 18.55 | 2.24 | 51 | 20.79 | 0.15 | 57 | 58 | * Credit 59 | [[https://www.reddit.com/r/emacs/comments/131354i/guide_compile_your_own_emacs_to_make_it_really/][Guide Compile your own Emacs to make it really really fast, on Windows]] and [[https://github.com/D4lj337/native-comp-elisp-benchmarks/blob/master/cpu/amd-ryzen-7950x.org][amd-ryzen-7950x.org]] 60 | -------------------------------------------------------------------------------- /cpu/intel-i3-14100F.org: -------------------------------------------------------------------------------- 1 | * Spec 2 | 3 | - CPU: Intel i3 14100F 4 | - OS: Arch Linux (kernel 6.14.6) 5 | - Emacs: 30.1 6 | - Benchmarks: 1.16 7 | 8 | * Notes 9 | 10 | Emacs 30 installed from archlinux repo =emacs= 11 | 12 | Blank =emacs -Q= 13 | 14 | For better comparability I include both the results with my usual 8MB gc-cons-threshold and without 15 | 16 | * Results 17 | 18 | #+begin_src elisp 19 | (setq gc-cons-threshold (* 8 1024 1024)) 20 | #+end_src 21 | 22 | | test | non-gc (s) | gc (s) | gcs | total (s) | err | 23 | |--------------------+------------+--------+-----+-----------+-----| 24 | | bubble | 0.40 | 0.05 | 1 | 0.46 | 0% | 25 | | bubble-no-cons | 0.51 | 0.00 | 0 | 0.51 | 0% | 26 | | bytecomp | 1.02 | 0.35 | 14 | 1.37 | 0% | 27 | | dhrystone | 1.22 | 0.00 | 0 | 1.22 | 0% | 28 | | eieio | 0.56 | 0.42 | 18 | 0.98 | 0% | 29 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 3% | 30 | | fibn-named-let | 1.09 | 0.00 | 0 | 1.09 | 0% | 31 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 8% | 32 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 4% | 33 | | flet | 1.16 | 0.00 | 0 | 1.16 | 1% | 34 | | font-lock | 0.35 | 0.07 | 3 | 0.42 | 0% | 35 | | inclist | 0.68 | 0.00 | 0 | 0.68 | 1% | 36 | | inclist-type-hints | 0.59 | 0.00 | 0 | 0.59 | 1% | 37 | | listlen-tc | 0.11 | 0.00 | 0 | 0.11 | 1% | 38 | | map-closure | 2.88 | 0.00 | 0 | 2.88 | 1% | 39 | | nbody | 0.90 | 0.10 | 1 | 1.00 | 1% | 40 | | pack-unpack | 0.17 | 0.10 | 4 | 0.27 | 1% | 41 | | pack-unpack-old | 0.28 | 0.19 | 8 | 0.47 | 1% | 42 | | pcase | 1.79 | 0.00 | 0 | 1.79 | 0% | 43 | | pidigits | 1.92 | 1.44 | 43 | 3.36 | 1% | 44 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0% | 45 | | scroll-nonascii | 0.00 | 0.00 | 0 | 0.00 | 0% | 46 | | smie | 0.77 | 0.13 | 5 | 0.89 | 1% | 47 | | smie-nonascii | 1.50 | 0.12 | 5 | 1.62 | 0% | 48 | |--------------------+------------+--------+-----+-----------+-----| 49 | | total | 17.90 | 2.97 | 102 | 20.87 | 0% | 50 | 51 | 52 | * Results with default =gc-cons-threshold= 53 | 54 | #+begin_src elisp 55 | (setq gc-cons-threshold 800000) 56 | #+end_src 57 | 58 | | test | non-gc (s) | gc (s) | gcs | total (s) | err | 59 | |--------------------+------------+--------+-----+-----------+-----| 60 | | bubble | 0.46 | 0.08 | 1 | 0.54 | 1% | 61 | | bubble-no-cons | 0.52 | 0.00 | 0 | 0.52 | 0% | 62 | | bytecomp | 1.12 | 0.72 | 14 | 1.84 | 0% | 63 | | dhrystone | 1.24 | 0.00 | 0 | 1.24 | 0% | 64 | | eieio | 0.57 | 0.90 | 18 | 1.46 | 0% | 65 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 3% | 66 | | fibn-named-let | 1.08 | 0.00 | 0 | 1.08 | 0% | 67 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 12% | 68 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 1% | 69 | | flet | 1.14 | 0.00 | 0 | 1.14 | 1% | 70 | | font-lock | 0.35 | 0.15 | 3 | 0.51 | 1% | 71 | | inclist | 2.35 | 0.00 | 0 | 2.35 | 0% | 72 | | inclist-type-hints | 1.89 | 0.00 | 0 | 1.89 | 0% | 73 | | listlen-tc | 0.11 | 0.00 | 0 | 0.11 | 0% | 74 | | map-closure | 2.87 | 0.00 | 0 | 2.87 | 1% | 75 | | nbody | 0.91 | 0.13 | 1 | 1.03 | 1% | 76 | | pack-unpack | 0.17 | 0.20 | 4 | 0.38 | 0% | 77 | | pack-unpack-old | 0.29 | 0.41 | 8 | 0.70 | 1% | 78 | | pcase | 1.81 | 0.00 | 0 | 1.81 | 0% | 79 | | pidigits | 1.90 | 2.58 | 43 | 4.48 | 1% | 80 | | scroll | 1.21 | 0.15 | 3 | 1.36 | 1% | 81 | | scroll-nonascii | 2.63 | 0.25 | 5 | 2.88 | 0% | 82 | | smie | 0.74 | 0.25 | 5 | 0.99 | 0% | 83 | | smie-nonascii | 1.50 | 0.25 | 5 | 1.76 | 1% | 84 | |--------------------+------------+--------+-----+-----------+-----| 85 | | total | 24.88 | 6.07 | 110 | 30.95 | 0% | 86 | -------------------------------------------------------------------------------- /cpu/apple-m1.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Apple M1 4 | - OS: macOS Monterey 5 | - Emacs: 28 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | ARM compiled using: 11 | 12 | #+BEGIN_SRC sh 13 | brew tap railwaycat/emacsmacport 14 | brew install emacs-mac --with-modules --with-mac-metal --with-emacs-sexy-icon --with-native-comp 15 | #+END_SRC 16 | 17 | x86-64 retrieved using: 18 | 19 | #+BEGIN_SRC sh 20 | brew tap d12frosted/emacs-plus 21 | brew install emacs-plus@28 --with-native-comp 22 | #+END_SRC 23 | 24 | * Results (ARM) 25 | 26 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 27 | |--------------------+----------------+------------+---------+-------------+-----------------| 28 | | bubble | 0.90 | 0.14 | 1 | 1.04 | 0.00 | 29 | | bubble-no-cons | 1.44 | 0.00 | 0 | 1.44 | 0.01 | 30 | | bytecomp | 0.81 | 0.84 | 15 | 1.66 | 0.02 | 31 | | dhrystone | 3.12 | 0.00 | 0 | 3.12 | 0.03 | 32 | | eieio | 1.70 | 1.12 | 20 | 2.82 | 0.02 | 33 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 34 | | fibn-named-let | 0.87 | 0.00 | 0 | 0.87 | 0.00 | 35 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 36 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 37 | | flet | 1.85 | 0.00 | 0 | 1.85 | 0.01 | 38 | | inclist | 1.70 | 0.00 | 0 | 1.70 | 0.02 | 39 | | inclist-type-hints | 1.62 | 0.00 | 0 | 1.62 | 0.01 | 40 | | listlen-tc | 0.17 | 0.00 | 0 | 0.17 | 0.00 | 41 | | map-closure | 5.41 | 0.00 | 0 | 5.41 | 0.00 | 42 | | nbody | 2.05 | 0.23 | 1 | 2.28 | 0.02 | 43 | | pack-unpack | 0.36 | 0.28 | 5 | 0.64 | 0.00 | 44 | | pack-unpack-old | 0.96 | 0.56 | 10 | 1.53 | 0.00 | 45 | | pcase | 4.25 | 0.00 | 0 | 4.25 | 0.01 | 46 | | pidigits | 4.43 | 4.07 | 49 | 8.50 | 0.05 | 47 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 48 | | smie | 1.18 | 0.30 | 5 | 1.48 | 0.00 | 49 | |--------------------+----------------+------------+---------+-------------+-----------------| 50 | | total | 32.82 | 7.55 | 106 | 40.37 | 0.08 | 51 | 52 | * Results (x86-64 under Rosetta) 53 | 54 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 55 | |--------------------+----------------+------------+---------+-------------+-----------------| 56 | | bubble | 1.21 | 0.15 | 1 | 1.36 | 0.00 | 57 | | bubble-no-cons | 1.77 | 0.00 | 0 | 1.77 | 0.00 | 58 | | bytecomp | 1.02 | 1.08 | 18 | 2.09 | 0.02 | 59 | | dhrystone | 3.07 | 0.00 | 0 | 3.07 | 0.00 | 60 | | eieio | 1.37 | 1.43 | 24 | 2.80 | 0.01 | 61 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 62 | | fibn-named-let | 1.07 | 0.00 | 0 | 1.07 | 0.00 | 63 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 64 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 65 | | flet | 1.99 | 0.00 | 0 | 1.99 | 0.00 | 66 | | inclist | 1.26 | 0.00 | 0 | 1.26 | 0.01 | 67 | | inclist-type-hints | 1.18 | 0.00 | 0 | 1.18 | 0.00 | 68 | | listlen-tc | 0.14 | 0.00 | 0 | 0.14 | 0.00 | 69 | | map-closure | 6.60 | 0.00 | 0 | 6.60 | 0.01 | 70 | | nbody | 1.64 | 0.28 | 1 | 1.92 | 0.00 | 71 | | pack-unpack | 0.35 | 0.36 | 6 | 0.71 | 0.00 | 72 | | pack-unpack-old | 0.55 | 0.77 | 13 | 1.32 | 0.01 | 73 | | pcase | 2.56 | 0.00 | 0 | 2.56 | 0.01 | 74 | | pidigits | 7.96 | 5.05 | 59 | 13.01 | 0.10 | 75 | | scroll | 2.37 | 0.64 | 10 | 3.01 | 0.01 | 76 | | smie | 1.29 | 0.41 | 7 | 1.71 | 0.00 | 77 | |--------------------+----------------+------------+---------+-------------+-----------------| 78 | | total | 37.40 | 10.18 | 139 | 47.58 | 0.11 | 79 | -------------------------------------------------------------------------------- /cpu/intel-i9-9980hk.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | - CPU: I9-9980HK 3 | - OS: macOS BigSur 4 | - Emacs: 28 5 | - Benchmarks: 1.14 6 | 7 | * Notes - build-emacs-for-macos 8 | 9 | #+begin_src shell 10 | git clone https://github.com/jimeh/build-emacs-for-macos.git 11 | cd build-emacs-for-macos 12 | ./build-emacs-for-macos --no-xwidgets --native-full-aot -j 16 emacs-28.1 13 | #+end_src 14 | 15 | * Results 16 | 17 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 18 | |--------------------+----------------+------------+---------+-------------+-----------------| 19 | | bubble | 1.61 | 0.23 | 1 | 1.84 | 0.15 | 20 | | bubble-no-cons | 2.34 | 0.02 | 1 | 2.36 | 0.25 | 21 | | bytecomp | 1.36 | 1.96 | 82 | 3.33 | 0.30 | 22 | | dhrystone | 3.23 | 0.00 | 0 | 3.23 | 0.24 | 23 | | eieio | 1.64 | 2.60 | 110 | 4.24 | 0.21 | 24 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 25 | | fibn-named-let | 1.60 | 0.00 | 0 | 1.60 | 0.07 | 26 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 27 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 28 | | flet | 2.58 | 0.00 | 0 | 2.58 | 0.07 | 29 | | inclist | 1.25 | 0.00 | 0 | 1.25 | 0.04 | 30 | | inclist-type-hints | 1.12 | 0.00 | 0 | 1.12 | 0.02 | 31 | | listlen-tc | 0.14 | 0.00 | 0 | 0.14 | 0.00 | 32 | | map-closure | 8.43 | 0.00 | 0 | 8.43 | 0.24 | 33 | | nbody | 1.95 | 0.53 | 1 | 2.48 | 0.15 | 34 | | pack-unpack | 0.45 | 0.68 | 28 | 1.13 | 0.05 | 35 | | pack-unpack-old | 0.64 | 1.41 | 58 | 2.05 | 0.10 | 36 | | pcase | 2.67 | 0.00 | 0 | 2.67 | 0.13 | 37 | | pidigits | 7.40 | 11.55 | 266 | 18.95 | 0.47 | 38 | | scroll | 2.26 | 0.42 | 16 | 2.68 | 0.09 | 39 | | smie | 1.95 | 0.78 | 31 | 2.73 | 0.08 | 40 | |--------------------+----------------+------------+---------+-------------+-----------------| 41 | | total | 42.63 | 20.18 | 594 | 62.81 | 0.80 | 42 | 43 | 44 | * Notes - emacs-plus 45 | 46 | - better benchmarks when running emacs-plus 47 | #+begin_src shell 48 | brew install emacs-plus --with-modern-bokehlicia-captiva-icon --with-dbus --with-debug --with-native-comp 49 | #+end_src 50 | 51 | * Results 52 | 53 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 54 | |--------------------+----------------+------------+---------+-------------+-----------------| 55 | | bubble | 1.46 | 0.21 | 1 | 1.67 | 0.01 | 56 | | bubble-no-cons | 2.09 | 0.03 | 1 | 2.12 | 0.03 | 57 | | bytecomp | 1.44 | 1.62 | 63 | 3.06 | 0.12 | 58 | | dhrystone | 2.39 | 0.00 | 0 | 2.39 | 0.04 | 59 | | eieio | 1.47 | 2.18 | 86 | 3.65 | 0.06 | 60 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 61 | | fibn-named-let | 1.43 | 0.00 | 0 | 1.43 | 0.03 | 62 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 63 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 64 | | flet | 2.30 | 0.00 | 0 | 2.30 | 0.04 | 65 | | inclist | 1.13 | 0.00 | 0 | 1.13 | 0.03 | 66 | | inclist-type-hints | 1.02 | 0.00 | 0 | 1.02 | 0.04 | 67 | | listlen-tc | 0.13 | 0.00 | 0 | 0.13 | 0.00 | 68 | | map-closure | 7.75 | 0.00 | 0 | 7.75 | 0.41 | 69 | | nbody | 1.81 | 0.50 | 1 | 2.31 | 0.14 | 70 | | pack-unpack | 0.42 | 0.59 | 22 | 1.01 | 0.07 | 71 | | pack-unpack-old | 0.59 | 1.20 | 45 | 1.80 | 0.12 | 72 | | pcase | 2.47 | 0.00 | 0 | 2.47 | 0.18 | 73 | | pidigits | 7.45 | 10.36 | 207 | 17.81 | 2.04 | 74 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 75 | | smie | 1.66 | 0.64 | 24 | 2.30 | 0.01 | 76 | |--------------------+----------------+------------+---------+-------------+-----------------| 77 | | total | 37.02 | 17.32 | 450 | 54.34 | 2.10 | 78 | 79 | -------------------------------------------------------------------------------- /cpu/apple-m4.org: -------------------------------------------------------------------------------- 1 | * Spec 2 | 3 | - CPU: Apple M4 4 | - OS: macOS Sequoia 15.5 5 | - Emacs: 30.1 6 | - Benchmarks: 1.16 7 | 8 | * Notes 9 | 10 | Emacs 30 installed from [[https://github.com/d12frosted/homebrew-emacs-plus][homebrew-emacs-plus]] 11 | 12 | Otherwise blank =emacs -Q= 13 | 14 | For better comparability I include both the results with my usual 8MB gc-cons-threshold and without 15 | 16 | * Results 17 | 18 | #+begin_src elisp 19 | (setq gc-cons-threshold (* 8 1024 1024)) 20 | #+end_src 21 | 22 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 23 | |--------------------+----------------+------------+---------+-------------+-----------------| 24 | | bubble | 0.26 | 0.06 | 1 | 0.33 | 0.01 | 25 | | bubble-no-cons | 0.36 | 0.00 | 0 | 0.36 | 0.00 | 26 | | bytecomp | 0.50 | 0.21 | 14 | 0.71 | 0.01 | 27 | | dhrystone | 0.74 | 0.00 | 0 | 0.74 | 0.01 | 28 | | eieio | 0.48 | 0.23 | 18 | 0.72 | 0.01 | 29 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 30 | | fibn-named-let | 0.57 | 0.00 | 0 | 0.57 | 0.00 | 31 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 32 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 33 | | flet | 0.52 | 0.00 | 0 | 0.52 | 0.01 | 34 | | font-lock | 0.30 | 0.04 | 3 | 0.34 | 0.01 | 35 | | inclist | 0.75 | 0.00 | 0 | 0.75 | 0.01 | 36 | | inclist-type-hints | 0.68 | 0.00 | 0 | 0.68 | 0.00 | 37 | | listlen-tc | 0.07 | 0.00 | 0 | 0.07 | 0.00 | 38 | | map-closure | 2.68 | 0.00 | 0 | 2.68 | 0.02 | 39 | | nbody | 0.74 | 0.16 | 1 | 0.90 | 0.02 | 40 | | pack-unpack | 0.15 | 0.05 | 4 | 0.20 | 0.00 | 41 | | pack-unpack-old | 0.20 | 0.10 | 8 | 0.30 | 0.00 | 42 | | pcase | 1.22 | 0.00 | 0 | 1.22 | 0.01 | 43 | | pidigits | 1.85 | 1.46 | 43 | 3.31 | 0.02 | 44 | | scroll | 0.86 | 0.05 | 3 | 0.91 | 0.03 | 45 | | smie | 0.62 | 0.07 | 5 | 0.70 | 0.00 | 46 | |--------------------+----------------+------------+---------+-------------+-----------------| 47 | | total | 13.57 | 2.44 | 100 | 16.01 | 0.05 | 48 | 49 | * Results with default =gc-cons-threshold= 50 | 51 | #+begin_src elisp 52 | (setq gc-cons-threshold 800000) 53 | #+end_src 54 | 55 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 56 | |--------------------+----------------+------------+---------+-------------+-----------------| 57 | | bubble | 0.26 | 0.06 | 1 | 0.32 | 0.01 | 58 | | bubble-no-cons | 0.36 | 0.01 | 1 | 0.37 | 0.01 | 59 | | bytecomp | 0.49 | 0.86 | 91 | 1.35 | 0.02 | 60 | | dhrystone | 0.91 | 0.00 | 0 | 0.91 | 0.01 | 61 | | eieio | 0.49 | 1.07 | 117 | 1.55 | 0.01 | 62 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 63 | | fibn-named-let | 0.57 | 0.00 | 0 | 0.57 | 0.00 | 64 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 65 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 66 | | flet | 0.54 | 0.00 | 0 | 0.54 | 0.01 | 67 | | font-lock | 0.30 | 0.20 | 21 | 0.50 | 0.00 | 68 | | inclist | 0.66 | 0.00 | 0 | 0.66 | 0.01 | 69 | | inclist-type-hints | 0.59 | 0.00 | 0 | 0.59 | 0.00 | 70 | | listlen-tc | 0.07 | 0.00 | 0 | 0.07 | 0.00 | 71 | | map-closure | 2.71 | 0.00 | 0 | 2.71 | 0.02 | 72 | | nbody | 0.74 | 0.15 | 1 | 0.90 | 0.01 | 73 | | pack-unpack | 0.15 | 0.28 | 30 | 0.42 | 0.00 | 74 | | pack-unpack-old | 0.20 | 0.52 | 57 | 0.72 | 0.01 | 75 | | pcase | 1.23 | 0.00 | 0 | 1.23 | 0.00 | 76 | | pidigits | 1.82 | 3.39 | 283 | 5.20 | 0.02 | 77 | | scroll | 0.87 | 0.21 | 20 | 1.08 | 0.03 | 78 | | smie | 0.63 | 0.31 | 33 | 0.94 | 0.00 | 79 | |--------------------+----------------+------------+---------+-------------+-----------------| 80 | | total | 13.60 | 7.06 | 657 | 20.65 | 0.05 | 81 | -------------------------------------------------------------------------------- /cpu/amd-ryzen-7950x.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | :PROPERTIES: 3 | :CREATED_TIME: [2024-04-30 Tue 16:42] 4 | :END: 5 | 6 | - CPU: AMD Ryzen 7950X with 192GB DDR5 RAM at 4600MHz 7 | - OS: Gentoo Linux 8 | - Emacs: 30, commit 7f80070232a5c010ae18de9fd8803a66623c074b 9 | - Benchmarks: 1.14 10 | 11 | Emacs was compiled with the following CFLAGS: 12 | #+begin_src sh 13 | COMMON_FLAGS="-march=native -Ofast -fno-finite-math-only -pipe \ 14 | -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta \ 15 | -fno-semantic-interposition" 16 | #+end_src 17 | 18 | My overclocking settings on an MSI MEG Godlike X670E motherboard are: 19 | - Performance Boost Overdrive: 150MHz 20 | - RAM: 4600MHz 21 | - Curve Optimizer: -25 on all cores 22 | 23 | The GCC version I used to build Emacs was: gcc version 14.0.1 20240421 (experimental) (Gentoo 14.0.1_pre20240421 p26 24 | 25 | and Emacs was built with the following three patches applied. I daily drive 26 | these patches and they are stable for my Doom Emacs configuration but YMMV. 27 | 28 | #+title: Use comp speed 3 by default 29 | #+begin_src diff 30 | diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el 31 | index b35e1b97e9d..95d1e494ad6 100644 32 | --- a/lisp/emacs-lisp/comp.el 33 | +++ b/lisp/emacs-lisp/comp.el 34 | @@ -43,7 +43,7 @@ 35 | "Emacs Lisp native compiler." 36 | :group 'lisp) 37 | 38 | -(defcustom native-comp-speed 2 39 | +(defcustom native-comp-speed 3 40 | "Optimization level for native compilation, a number between -1 and 3. 41 | -1 functions are kept in bytecode form and no native compilation is performed 42 | (but *.eln files are still produced, and include the compiled code in 43 | #+end_src 44 | 45 | #+title: Pass more aggressive compiler options to libgccjit 46 | #+begin_src diff 47 | diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el 48 | index 2ec55ed98ee..ca8e4574c3b 100644 49 | --- a/lisp/emacs-lisp/comp.el 50 | +++ b/lisp/emacs-lisp/comp.el 51 | @@ -88,7 +88,7 @@ during bootstrap." 52 | :type '(repeat regexp) 53 | :version "28.1") 54 | 55 | -(defcustom native-comp-compiler-options nil 56 | +(defcustom native-comp-compiler-options '("-march=znver4" "-Ofast" "-g0" "-fno-finite-math-only" "-fgraphite-identity" "-floop-nest-optimize" "-fdevirtualize-at-ltrans" "-fipa-pta" "-fno-semantic-interposition" "-flto=auto" "-fuse-linker-plugin") 57 | "Command line options passed verbatim to GCC compiler. 58 | Note that not all options are meaningful and some options might even 59 | break your Emacs. Use at your own risk. 60 | @@ -98,9 +98,7 @@ and above." 61 | :type '(repeat string) 62 | :version "28.1") 63 | 64 | -(defcustom native-comp-driver-options 65 | - (cond ((eq system-type 'darwin) '("-Wl,-w")) 66 | - ((eq system-type 'cygwin) '("-Wl,-dynamicbase"))) 67 | +(defcustom native-comp-driver-options '("-march=znver4" "-Ofast" "-g0" "-fno-finite-math-only" "-fgraphite-identity" "-floop-nest-optimize" "-fdevirtualize-at-ltrans" "-fipa-pta" "-fno-semantic-interposition" "-flto=auto" "-fuse-linker-plugin") 68 | "Options passed verbatim to the native compiler's back-end driver. 69 | Note that not all options are meaningful; typically only the options 70 | affecting the assembler and linker are likely to be useful. 71 | #+end_src 72 | 73 | #+title: Disable native comp safety guarantees 74 | #+begin_src diff 75 | diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el 76 | index 12b45f9f5b8..6b9192e21bb 100644 77 | --- a/lisp/emacs-lisp/bytecomp.el 78 | +++ b/lisp/emacs-lisp/bytecomp.el 79 | @@ -137,7 +137,7 @@ 80 | "Emacs Lisp byte-compiler." 81 | :group 'lisp) 82 | 83 | -(defcustom compilation-safety 1 84 | +(defcustom compilation-safety 0 85 | "Safety level for generated compiled code. 86 | Possible values are: 87 | 0 - emitted code can misbehave, even crash Emacs, if declarations of 88 | #+end_src 89 | 90 | * Results 91 | :PROPERTIES: 92 | :CREATED_TIME: [2024-04-30 Tue 16:49] 93 | :END: 94 | 95 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 96 | |--------------------+----------------+------------+---------+-------------+-----------------| 97 | | bubble | 0.42 | 0.00 | 0 | 0.42 | 0.03 | 98 | | bubble-no-cons | 0.57 | 0.00 | 0 | 0.57 | 0.03 | 99 | | bytecomp | 1.03 | 0.00 | 0 | 1.03 | 0.01 | 100 | | dhrystone | 0.96 | 0.00 | 0 | 0.96 | 0.00 | 101 | | eieio | 0.55 | 0.00 | 0 | 0.55 | 0.01 | 102 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 103 | | fibn-named-let | 0.43 | 0.00 | 0 | 0.43 | 0.00 | 104 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 105 | | fibn-tc | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 106 | | flet | 0.67 | 0.00 | 0 | 0.67 | 0.00 | 107 | | font-lock | 0.44 | 0.00 | 0 | 0.44 | 0.13 | 108 | | inclist | 0.77 | 0.00 | 0 | 0.77 | 0.01 | 109 | | inclist-type-hints | 0.74 | 0.00 | 0 | 0.74 | 0.01 | 110 | | listlen-tc | 0.07 | 0.00 | 0 | 0.07 | 0.00 | 111 | | map-closure | 2.75 | 0.00 | 0 | 2.75 | 0.08 | 112 | | nbody | 0.57 | 0.00 | 0 | 0.57 | 0.04 | 113 | | pack-unpack | 0.14 | 0.00 | 0 | 0.14 | 0.00 | 114 | | pack-unpack-old | 0.22 | 0.00 | 0 | 0.22 | 0.00 | 115 | | pcase | 1.17 | 0.00 | 0 | 1.17 | 0.02 | 116 | | pidigits | 2.10 | 0.00 | 0 | 2.10 | 1.08 | 117 | | scroll | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 118 | | smie | 0.75 | 0.00 | 0 | 0.75 | 0.00 | 119 | |--------------------+----------------+------------+---------+-------------+-----------------| 120 | | total | 14.36 | 0.00 | 0 | 14.36 | 1.09 | 121 | -------------------------------------------------------------------------------- /cpu/apple-m2.org: -------------------------------------------------------------------------------- 1 | * Specs 2 | 3 | - CPU: Apple M2 Air, 24GB 4 | - OS: MacOS Ventura 13.4.1 5 | - Emacs: 28.2 6 | - Benchmarks: 1.14 7 | 8 | * Notes 9 | 10 | Compiled using: 11 | 12 | - *Non-native-comp* :: ~brew install emacs-mac~ 13 | - *Native-comp* :: ~brew install emacs-mac --with-emacs-sexy-icon --with-librsvg --with-native-comp --with-starter~ 14 | - *Native-comp+metal* :: ~brew install emacs-mac --with-emacs-sexy-icon --with-librsvg --with-mac-metal --with-native-compilation --with-starter~ 15 | 16 | * Results (non-native-comp) 17 | 18 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 19 | |--------------------+----------------+------------+---------+-------------+-----------------| 20 | | bubble | 2.00 | 2.59 | 324 | 4.59 | 0.04 | 21 | | bubble-no-cons | 5.21 | 0.02 | 2 | 5.22 | 0.03 | 22 | | bytecomp | 1.09 | 0.75 | 91 | 1.84 | 0.01 | 23 | | dhrystone | 4.38 | 0.00 | 0 | 4.38 | 0.02 | 24 | | eieio | 1.66 | 0.98 | 122 | 2.65 | 0.02 | 25 | | fibn | 1.81 | 0.00 | 0 | 1.81 | 0.00 | 26 | | fibn-named-let | 1.74 | 0.00 | 0 | 1.74 | 0.00 | 27 | | fibn-rec | 3.65 | 0.00 | 0 | 3.65 | 0.00 | 28 | | fibn-tc | 3.61 | 0.00 | 0 | 3.61 | 0.00 | 29 | | flet | 5.59 | 0.00 | 0 | 5.59 | 0.02 | 30 | | inclist | 5.78 | 0.00 | 0 | 5.78 | 0.01 | 31 | | inclist-type-hints | 5.78 | 0.00 | 0 | 5.78 | 0.01 | 32 | | listlen-tc | 3.98 | 0.00 | 0 | 3.98 | 0.00 | 33 | | map-closure | 5.01 | 0.00 | 0 | 5.01 | 0.00 | 34 | | nbody | 1.53 | 4.71 | 582 | 6.23 | 0.00 | 35 | | pack-unpack | 0.33 | 0.26 | 32 | 0.59 | 0.00 | 36 | | pack-unpack-old | 0.81 | 0.51 | 64 | 1.33 | 0.00 | 37 | | pcase | 5.42 | 0.00 | 0 | 5.42 | 0.00 | 38 | | pidigits | 3.84 | 3.62 | 295 | 7.46 | 0.02 | 39 | | scroll | 1.18 | 0.17 | 18 | 1.35 | 0.03 | 40 | | smie | 1.08 | 0.28 | 34 | 1.36 | 0.00 | 41 | |--------------------+----------------+------------+---------+-------------+-----------------| 42 | | total | 65.46 | 13.88 | 1566 | 79.34 | 0.08 | 43 | 44 | * Results (native-comp) 45 | 46 | Using (gcmh-high-cons-threshold #x4000000) 47 | 48 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 49 | |--------------------+----------------+------------+---------+-------------+-----------------| 50 | | bubble | 0.80 | 0.09 | 1 | 0.89 | 0.01 | 51 | | bubble-no-cons | 1.35 | 0.01 | 0 | 1.36 | 0.01 | 52 | | bytecomp | 0.74 | 0.54 | 46 | 1.28 | 0.45 | 53 | | dhrystone | 1.54 | 0.00 | 0 | 1.54 | 0.00 | 54 | | eieio | 1.14 | 0.71 | 63 | 1.86 | 0.53 | 55 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 56 | | fibn-named-let | 0.78 | 0.00 | 0 | 0.78 | 0.00 | 57 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 58 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 59 | | flet | 1.62 | 0.00 | 0 | 1.62 | 0.00 | 60 | | inclist | 1.00 | 0.00 | 0 | 1.00 | 0.01 | 61 | | inclist-type-hints | 0.90 | 0.00 | 0 | 0.90 | 0.00 | 62 | | listlen-tc | 0.13 | 0.00 | 0 | 0.13 | 0.00 | 63 | | map-closure | 4.96 | 0.00 | 0 | 4.96 | 0.00 | 64 | | nbody | 1.02 | 0.17 | 1 | 1.19 | 0.01 | 65 | | pack-unpack | 0.24 | 0.18 | 16 | 0.42 | 0.14 | 66 | | pack-unpack-old | 0.34 | 0.36 | 33 | 0.71 | 0.28 | 67 | | pcase | 1.15 | 0.00 | 0 | 1.15 | 0.00 | 68 | | pidigits | 3.59 | 2.96 | 152 | 6.55 | 1.40 | 69 | | scroll | 1.27 | 0.20 | 14 | 1.47 | 0.03 | 70 | | smie | 1.05 | 0.36 | 26 | 1.42 | 0.00 | 71 | |--------------------+----------------+------------+---------+-------------+-----------------| 72 | | total | 23.64 | 5.58 | 353 | 29.22 | 1.60 | 73 | 74 | * Results (native-comp+metal) 75 | 76 | Using (gcmh-high-cons-threshold #x4000000) 77 | 78 | | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | 79 | |--------------------+----------------+------------+---------+-------------+-----------------| 80 | | bubble | 0.78 | 0.09 | 1 | 0.87 | 0.00 | 81 | | bubble-no-cons | 1.34 | 0.01 | 0 | 1.35 | 0.01 | 82 | | bytecomp | 0.76 | 0.50 | 50 | 1.26 | 0.40 | 83 | | dhrystone | 1.51 | 0.00 | 0 | 1.51 | 0.01 | 84 | | eieio | 1.16 | 0.66 | 68 | 1.82 | 0.49 | 85 | | fibn | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 86 | | fibn-named-let | 0.78 | 0.00 | 0 | 0.78 | 0.00 | 87 | | fibn-rec | 0.00 | 0.00 | 0 | 0.00 | 0.00 | 88 | | fibn-tc | 0.01 | 0.00 | 0 | 0.01 | 0.00 | 89 | | flet | 1.62 | 0.00 | 0 | 1.62 | 0.00 | 90 | | inclist | 1.03 | 0.00 | 0 | 1.03 | 0.01 | 91 | | inclist-type-hints | 0.97 | 0.00 | 0 | 0.97 | 0.01 | 92 | | listlen-tc | 0.13 | 0.00 | 0 | 0.13 | 0.00 | 93 | | map-closure | 4.96 | 0.00 | 0 | 4.96 | 0.01 | 94 | | nbody | 1.02 | 0.18 | 1 | 1.20 | 0.00 | 95 | | pack-unpack | 0.24 | 0.16 | 17 | 0.41 | 0.13 | 96 | | pack-unpack-old | 0.34 | 0.34 | 35 | 0.68 | 0.26 | 97 | | pcase | 1.14 | 0.00 | 0 | 1.14 | 0.00 | 98 | | pidigits | 3.71 | 2.76 | 164 | 6.47 | 1.22 | 99 | | scroll | 1.24 | 0.19 | 15 | 1.43 | 0.00 | 100 | | smie | 1.04 | 0.28 | 28 | 1.32 | 0.00 | 101 | |--------------------+----------------+------------+---------+-------------+-----------------| 102 | | total | 23.78 | 5.16 | 381 | 28.94 | 1.40 | 103 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | GNU Free Documentation License 3 | Version 1.3, 3 November 2008 4 | 5 | 6 | Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. 7 | 8 | Everyone is permitted to copy and distribute verbatim copies 9 | of this license document, but changing it is not allowed. 10 | 11 | 0. PREAMBLE 12 | 13 | The purpose of this License is to make a manual, textbook, or other 14 | functional and useful document "free" in the sense of freedom: to 15 | assure everyone the effective freedom to copy and redistribute it, 16 | with or without modifying it, either commercially or noncommercially. 17 | Secondarily, this License preserves for the author and publisher a way 18 | to get credit for their work, while not being considered responsible 19 | for modifications made by others. 20 | 21 | This License is a kind of "copyleft", which means that derivative 22 | works of the document must themselves be free in the same sense. It 23 | complements the GNU General Public License, which is a copyleft 24 | license designed for free software. 25 | 26 | We have designed this License in order to use it for manuals for free 27 | software, because free software needs free documentation: a free 28 | program should come with manuals providing the same freedoms that the 29 | software does. But this License is not limited to software manuals; 30 | it can be used for any textual work, regardless of subject matter or 31 | whether it is published as a printed book. We recommend this License 32 | principally for works whose purpose is instruction or reference. 33 | 34 | 35 | 1. APPLICABILITY AND DEFINITIONS 36 | 37 | This License applies to any manual or other work, in any medium, that 38 | contains a notice placed by the copyright holder saying it can be 39 | distributed under the terms of this License. Such a notice grants a 40 | world-wide, royalty-free license, unlimited in duration, to use that 41 | work under the conditions stated herein. The "Document", below, 42 | refers to any such manual or work. Any member of the public is a 43 | licensee, and is addressed as "you". You accept the license if you 44 | copy, modify or distribute the work in a way requiring permission 45 | under copyright law. 46 | 47 | A "Modified Version" of the Document means any work containing the 48 | Document or a portion of it, either copied verbatim, or with 49 | modifications and/or translated into another language. 50 | 51 | A "Secondary Section" is a named appendix or a front-matter section of 52 | the Document that deals exclusively with the relationship of the 53 | publishers or authors of the Document to the Document's overall 54 | subject (or to related matters) and contains nothing that could fall 55 | directly within that overall subject. (Thus, if the Document is in 56 | part a textbook of mathematics, a Secondary Section may not explain 57 | any mathematics.) The relationship could be a matter of historical 58 | connection with the subject or with related matters, or of legal, 59 | commercial, philosophical, ethical or political position regarding 60 | them. 61 | 62 | The "Invariant Sections" are certain Secondary Sections whose titles 63 | are designated, as being those of Invariant Sections, in the notice 64 | that says that the Document is released under this License. If a 65 | section does not fit the above definition of Secondary then it is not 66 | allowed to be designated as Invariant. The Document may contain zero 67 | Invariant Sections. If the Document does not identify any Invariant 68 | Sections then there are none. 69 | 70 | The "Cover Texts" are certain short passages of text that are listed, 71 | as Front-Cover Texts or Back-Cover Texts, in the notice that says that 72 | the Document is released under this License. A Front-Cover Text may 73 | be at most 5 words, and a Back-Cover Text may be at most 25 words. 74 | 75 | A "Transparent" copy of the Document means a machine-readable copy, 76 | represented in a format whose specification is available to the 77 | general public, that is suitable for revising the document 78 | straightforwardly with generic text editors or (for images composed of 79 | pixels) generic paint programs or (for drawings) some widely available 80 | drawing editor, and that is suitable for input to text formatters or 81 | for automatic translation to a variety of formats suitable for input 82 | to text formatters. A copy made in an otherwise Transparent file 83 | format whose markup, or absence of markup, has been arranged to thwart 84 | or discourage subsequent modification by readers is not Transparent. 85 | An image format is not Transparent if used for any substantial amount 86 | of text. A copy that is not "Transparent" is called "Opaque". 87 | 88 | Examples of suitable formats for Transparent copies include plain 89 | ASCII without markup, Texinfo input format, LaTeX input format, SGML 90 | or XML using a publicly available DTD, and standard-conforming simple 91 | HTML, PostScript or PDF designed for human modification. Examples of 92 | transparent image formats include PNG, XCF and JPG. Opaque formats 93 | include proprietary formats that can be read and edited only by 94 | proprietary word processors, SGML or XML for which the DTD and/or 95 | processing tools are not generally available, and the 96 | machine-generated HTML, PostScript or PDF produced by some word 97 | processors for output purposes only. 98 | 99 | The "Title Page" means, for a printed book, the title page itself, 100 | plus such following pages as are needed to hold, legibly, the material 101 | this License requires to appear in the title page. For works in 102 | formats which do not have any title page as such, "Title Page" means 103 | the text near the most prominent appearance of the work's title, 104 | preceding the beginning of the body of the text. 105 | 106 | The "publisher" means any person or entity that distributes copies of 107 | the Document to the public. 108 | 109 | A section "Entitled XYZ" means a named subunit of the Document whose 110 | title either is precisely XYZ or contains XYZ in parentheses following 111 | text that translates XYZ in another language. (Here XYZ stands for a 112 | specific section name mentioned below, such as "Acknowledgements", 113 | "Dedications", "Endorsements", or "History".) To "Preserve the Title" 114 | of such a section when you modify the Document means that it remains a 115 | section "Entitled XYZ" according to this definition. 116 | 117 | The Document may include Warranty Disclaimers next to the notice which 118 | states that this License applies to the Document. These Warranty 119 | Disclaimers are considered to be included by reference in this 120 | License, but only as regards disclaiming warranties: any other 121 | implication that these Warranty Disclaimers may have is void and has 122 | no effect on the meaning of this License. 123 | 124 | 2. VERBATIM COPYING 125 | 126 | You may copy and distribute the Document in any medium, either 127 | commercially or noncommercially, provided that this License, the 128 | copyright notices, and the license notice saying this License applies 129 | to the Document are reproduced in all copies, and that you add no 130 | other conditions whatsoever to those of this License. You may not use 131 | technical measures to obstruct or control the reading or further 132 | copying of the copies you make or distribute. However, you may accept 133 | compensation in exchange for copies. If you distribute a large enough 134 | number of copies you must also follow the conditions in section 3. 135 | 136 | You may also lend copies, under the same conditions stated above, and 137 | you may publicly display copies. 138 | 139 | 140 | 3. COPYING IN QUANTITY 141 | 142 | If you publish printed copies (or copies in media that commonly have 143 | printed covers) of the Document, numbering more than 100, and the 144 | Document's license notice requires Cover Texts, you must enclose the 145 | copies in covers that carry, clearly and legibly, all these Cover 146 | Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on 147 | the back cover. Both covers must also clearly and legibly identify 148 | you as the publisher of these copies. The front cover must present 149 | the full title with all words of the title equally prominent and 150 | visible. You may add other material on the covers in addition. 151 | Copying with changes limited to the covers, as long as they preserve 152 | the title of the Document and satisfy these conditions, can be treated 153 | as verbatim copying in other respects. 154 | 155 | If the required texts for either cover are too voluminous to fit 156 | legibly, you should put the first ones listed (as many as fit 157 | reasonably) on the actual cover, and continue the rest onto adjacent 158 | pages. 159 | 160 | If you publish or distribute Opaque copies of the Document numbering 161 | more than 100, you must either include a machine-readable Transparent 162 | copy along with each Opaque copy, or state in or with each Opaque copy 163 | a computer-network location from which the general network-using 164 | public has access to download using public-standard network protocols 165 | a complete Transparent copy of the Document, free of added material. 166 | If you use the latter option, you must take reasonably prudent steps, 167 | when you begin distribution of Opaque copies in quantity, to ensure 168 | that this Transparent copy will remain thus accessible at the stated 169 | location until at least one year after the last time you distribute an 170 | Opaque copy (directly or through your agents or retailers) of that 171 | edition to the public. 172 | 173 | It is requested, but not required, that you contact the authors of the 174 | Document well before redistributing any large number of copies, to 175 | give them a chance to provide you with an updated version of the 176 | Document. 177 | 178 | 179 | 4. MODIFICATIONS 180 | 181 | You may copy and distribute a Modified Version of the Document under 182 | the conditions of sections 2 and 3 above, provided that you release 183 | the Modified Version under precisely this License, with the Modified 184 | Version filling the role of the Document, thus licensing distribution 185 | and modification of the Modified Version to whoever possesses a copy 186 | of it. In addition, you must do these things in the Modified Version: 187 | 188 | A. Use in the Title Page (and on the covers, if any) a title distinct 189 | from that of the Document, and from those of previous versions 190 | (which should, if there were any, be listed in the History section 191 | of the Document). You may use the same title as a previous version 192 | if the original publisher of that version gives permission. 193 | B. List on the Title Page, as authors, one or more persons or entities 194 | responsible for authorship of the modifications in the Modified 195 | Version, together with at least five of the principal authors of the 196 | Document (all of its principal authors, if it has fewer than five), 197 | unless they release you from this requirement. 198 | C. State on the Title page the name of the publisher of the 199 | Modified Version, as the publisher. 200 | D. Preserve all the copyright notices of the Document. 201 | E. Add an appropriate copyright notice for your modifications 202 | adjacent to the other copyright notices. 203 | F. Include, immediately after the copyright notices, a license notice 204 | giving the public permission to use the Modified Version under the 205 | terms of this License, in the form shown in the Addendum below. 206 | G. Preserve in that license notice the full lists of Invariant Sections 207 | and required Cover Texts given in the Document's license notice. 208 | H. Include an unaltered copy of this License. 209 | I. Preserve the section Entitled "History", Preserve its Title, and add 210 | to it an item stating at least the title, year, new authors, and 211 | publisher of the Modified Version as given on the Title Page. If 212 | there is no section Entitled "History" in the Document, create one 213 | stating the title, year, authors, and publisher of the Document as 214 | given on its Title Page, then add an item describing the Modified 215 | Version as stated in the previous sentence. 216 | J. Preserve the network location, if any, given in the Document for 217 | public access to a Transparent copy of the Document, and likewise 218 | the network locations given in the Document for previous versions 219 | it was based on. These may be placed in the "History" section. 220 | You may omit a network location for a work that was published at 221 | least four years before the Document itself, or if the original 222 | publisher of the version it refers to gives permission. 223 | K. For any section Entitled "Acknowledgements" or "Dedications", 224 | Preserve the Title of the section, and preserve in the section all 225 | the substance and tone of each of the contributor acknowledgements 226 | and/or dedications given therein. 227 | L. Preserve all the Invariant Sections of the Document, 228 | unaltered in their text and in their titles. Section numbers 229 | or the equivalent are not considered part of the section titles. 230 | M. Delete any section Entitled "Endorsements". Such a section 231 | may not be included in the Modified Version. 232 | N. Do not retitle any existing section to be Entitled "Endorsements" 233 | or to conflict in title with any Invariant Section. 234 | O. Preserve any Warranty Disclaimers. 235 | 236 | If the Modified Version includes new front-matter sections or 237 | appendices that qualify as Secondary Sections and contain no material 238 | copied from the Document, you may at your option designate some or all 239 | of these sections as invariant. To do this, add their titles to the 240 | list of Invariant Sections in the Modified Version's license notice. 241 | These titles must be distinct from any other section titles. 242 | 243 | You may add a section Entitled "Endorsements", provided it contains 244 | nothing but endorsements of your Modified Version by various 245 | parties--for example, statements of peer review or that the text has 246 | been approved by an organization as the authoritative definition of a 247 | standard. 248 | 249 | You may add a passage of up to five words as a Front-Cover Text, and a 250 | passage of up to 25 words as a Back-Cover Text, to the end of the list 251 | of Cover Texts in the Modified Version. Only one passage of 252 | Front-Cover Text and one of Back-Cover Text may be added by (or 253 | through arrangements made by) any one entity. If the Document already 254 | includes a cover text for the same cover, previously added by you or 255 | by arrangement made by the same entity you are acting on behalf of, 256 | you may not add another; but you may replace the old one, on explicit 257 | permission from the previous publisher that added the old one. 258 | 259 | The author(s) and publisher(s) of the Document do not by this License 260 | give permission to use their names for publicity for or to assert or 261 | imply endorsement of any Modified Version. 262 | 263 | 264 | 5. COMBINING DOCUMENTS 265 | 266 | You may combine the Document with other documents released under this 267 | License, under the terms defined in section 4 above for modified 268 | versions, provided that you include in the combination all of the 269 | Invariant Sections of all of the original documents, unmodified, and 270 | list them all as Invariant Sections of your combined work in its 271 | license notice, and that you preserve all their Warranty Disclaimers. 272 | 273 | The combined work need only contain one copy of this License, and 274 | multiple identical Invariant Sections may be replaced with a single 275 | copy. If there are multiple Invariant Sections with the same name but 276 | different contents, make the title of each such section unique by 277 | adding at the end of it, in parentheses, the name of the original 278 | author or publisher of that section if known, or else a unique number. 279 | Make the same adjustment to the section titles in the list of 280 | Invariant Sections in the license notice of the combined work. 281 | 282 | In the combination, you must combine any sections Entitled "History" 283 | in the various original documents, forming one section Entitled 284 | "History"; likewise combine any sections Entitled "Acknowledgements", 285 | and any sections Entitled "Dedications". You must delete all sections 286 | Entitled "Endorsements". 287 | 288 | 289 | 6. COLLECTIONS OF DOCUMENTS 290 | 291 | You may make a collection consisting of the Document and other 292 | documents released under this License, and replace the individual 293 | copies of this License in the various documents with a single copy 294 | that is included in the collection, provided that you follow the rules 295 | of this License for verbatim copying of each of the documents in all 296 | other respects. 297 | 298 | You may extract a single document from such a collection, and 299 | distribute it individually under this License, provided you insert a 300 | copy of this License into the extracted document, and follow this 301 | License in all other respects regarding verbatim copying of that 302 | document. 303 | 304 | 305 | 7. AGGREGATION WITH INDEPENDENT WORKS 306 | 307 | A compilation of the Document or its derivatives with other separate 308 | and independent documents or works, in or on a volume of a storage or 309 | distribution medium, is called an "aggregate" if the copyright 310 | resulting from the compilation is not used to limit the legal rights 311 | of the compilation's users beyond what the individual works permit. 312 | When the Document is included in an aggregate, this License does not 313 | apply to the other works in the aggregate which are not themselves 314 | derivative works of the Document. 315 | 316 | If the Cover Text requirement of section 3 is applicable to these 317 | copies of the Document, then if the Document is less than one half of 318 | the entire aggregate, the Document's Cover Texts may be placed on 319 | covers that bracket the Document within the aggregate, or the 320 | electronic equivalent of covers if the Document is in electronic form. 321 | Otherwise they must appear on printed covers that bracket the whole 322 | aggregate. 323 | 324 | 325 | 8. TRANSLATION 326 | 327 | Translation is considered a kind of modification, so you may 328 | distribute translations of the Document under the terms of section 4. 329 | Replacing Invariant Sections with translations requires special 330 | permission from their copyright holders, but you may include 331 | translations of some or all Invariant Sections in addition to the 332 | original versions of these Invariant Sections. You may include a 333 | translation of this License, and all the license notices in the 334 | Document, and any Warranty Disclaimers, provided that you also include 335 | the original English version of this License and the original versions 336 | of those notices and disclaimers. In case of a disagreement between 337 | the translation and the original version of this License or a notice 338 | or disclaimer, the original version will prevail. 339 | 340 | If a section in the Document is Entitled "Acknowledgements", 341 | "Dedications", or "History", the requirement (section 4) to Preserve 342 | its Title (section 1) will typically require changing the actual 343 | title. 344 | 345 | 346 | 9. TERMINATION 347 | 348 | You may not copy, modify, sublicense, or distribute the Document 349 | except as expressly provided under this License. Any attempt 350 | otherwise to copy, modify, sublicense, or distribute it is void, and 351 | will automatically terminate your rights under this License. 352 | 353 | However, if you cease all violation of this License, then your license 354 | from a particular copyright holder is reinstated (a) provisionally, 355 | unless and until the copyright holder explicitly and finally 356 | terminates your license, and (b) permanently, if the copyright holder 357 | fails to notify you of the violation by some reasonable means prior to 358 | 60 days after the cessation. 359 | 360 | Moreover, your license from a particular copyright holder is 361 | reinstated permanently if the copyright holder notifies you of the 362 | violation by some reasonable means, this is the first time you have 363 | received notice of violation of this License (for any work) from that 364 | copyright holder, and you cure the violation prior to 30 days after 365 | your receipt of the notice. 366 | 367 | Termination of your rights under this section does not terminate the 368 | licenses of parties who have received copies or rights from you under 369 | this License. If your rights have been terminated and not permanently 370 | reinstated, receipt of a copy of some or all of the same material does 371 | not give you any rights to use it. 372 | 373 | 374 | 10. FUTURE REVISIONS OF THIS LICENSE 375 | 376 | The Free Software Foundation may publish new, revised versions of the 377 | GNU Free Documentation License from time to time. Such new versions 378 | will be similar in spirit to the present version, but may differ in 379 | detail to address new problems or concerns. See 380 | https://www.gnu.org/licenses/. 381 | 382 | Each version of the License is given a distinguishing version number. 383 | If the Document specifies that a particular numbered version of this 384 | License "or any later version" applies to it, you have the option of 385 | following the terms and conditions either of that specified version or 386 | of any later version that has been published (not as a draft) by the 387 | Free Software Foundation. If the Document does not specify a version 388 | number of this License, you may choose any version ever published (not 389 | as a draft) by the Free Software Foundation. If the Document 390 | specifies that a proxy can decide which future versions of this 391 | License can be used, that proxy's public statement of acceptance of a 392 | version permanently authorizes you to choose that version for the 393 | Document. 394 | 395 | 11. RELICENSING 396 | 397 | "Massive Multiauthor Collaboration Site" (or "MMC Site") means any 398 | World Wide Web server that publishes copyrightable works and also 399 | provides prominent facilities for anybody to edit those works. A 400 | public wiki that anybody can edit is an example of such a server. A 401 | "Massive Multiauthor Collaboration" (or "MMC") contained in the site 402 | means any set of copyrightable works thus published on the MMC site. 403 | 404 | "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 405 | license published by Creative Commons Corporation, a not-for-profit 406 | corporation with a principal place of business in San Francisco, 407 | California, as well as future copyleft versions of that license 408 | published by that same organization. 409 | 410 | "Incorporate" means to publish or republish a Document, in whole or in 411 | part, as part of another Document. 412 | 413 | An MMC is "eligible for relicensing" if it is licensed under this 414 | License, and if all works that were first published under this License 415 | somewhere other than this MMC, and subsequently incorporated in whole or 416 | in part into the MMC, (1) had no cover texts or invariant sections, and 417 | (2) were thus incorporated prior to November 1, 2008. 418 | 419 | The operator of an MMC Site may republish an MMC contained in the site 420 | under CC-BY-SA on the same site at any time before August 1, 2009, 421 | provided the MMC is eligible for relicensing. 422 | 423 | 424 | ADDENDUM: How to use this License for your documents 425 | 426 | To use this License in a document you have written, include a copy of 427 | the License in the document and put the following copyright and 428 | license notices just after the title page: 429 | 430 | Copyright (c) YEAR YOUR NAME. 431 | Permission is granted to copy, distribute and/or modify this document 432 | under the terms of the GNU Free Documentation License, Version 1.3 433 | or any later version published by the Free Software Foundation; 434 | with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. 435 | A copy of the license is included in the section entitled "GNU 436 | Free Documentation License". 437 | 438 | If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, 439 | replace the "with...Texts." line with this: 440 | 441 | with the Invariant Sections being LIST THEIR TITLES, with the 442 | Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. 443 | 444 | If you have Invariant Sections without Cover Texts, or some other 445 | combination of the three, merge those two alternatives to suit the 446 | situation. 447 | 448 | If your document contains nontrivial examples of program code, we 449 | recommend releasing these examples in parallel under your choice of 450 | free software license, such as the GNU General Public License, 451 | to permit their use in free software. 452 | --------------------------------------------------------------------------------