Hi all, as suggested I'd like submit a simple ELPA package to benchmark the elisp implementation. The idea is that is possible to add benchmarks just deposing the new test into the 'benchmarks' directory of the package following a name convention for the entry point function. Ex: 'foo.el' has to have 'foo-entry' as entry point for the test. Calling `elisp-benchmarks-run' the whole list of benchmarks is executed `elb-runs' times. A summary of the results is then presented. This is the output on my machine: " * Results | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | |----------------+----------------+------------+---------+-------------+-----------------| | bubble-no-cons | 16.46 | 0.05 | 4 | 16.50 | 0.50 | | bubble | 6.03 | 5.85 | 480 | 11.88 | 0.19 | | fibn-rec | 8.21 | 0.00 | 0 | 8.21 | 0.23 | | fibn-tc | 7.34 | 0.00 | 0 | 7.34 | 0.05 | | fibn | 14.00 | 0.00 | 0 | 14.00 | 0.22 | | inclist | 18.22 | 0.02 | 1 | 18.23 | 0.52 | | listlen-tc | 6.96 | 0.00 | 0 | 6.96 | 0.10 | | pidigits | 6.65 | 6.36 | 457 | 13.01 | 0.20 | |----------------+----------------+------------+---------+-------------+-----------------| | total | 83.87 | 12.28 | 942 | 96.15 | 0.84 | " Regarding the included tests I've mostly taken what I've used to test gccemacs but I had to strip out nbody and dhrystone because these has been ported by a colleague of mine. My understanding is that he wants to do the paper-works so we can probably add these later. License-wise I think the only concern would be with pidigits. The original is licensed under a "Revised BSD license". https://salsa.debian.org/benchmarksgame-team/archive-alioth-benchmarksgame/blob/master/contributed-source-code/benchmarksgame/pidigits/LICENSE For my basic understanding this should be GPL compliant therefore should be just sufficient to re-license it. Please correct me if I'm wrong. Does this make the job? Feedback are welcome. Andrea -- akrl@sdf.org