emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type declarations in Elisp


From: Emanuel Berg
Subject: Re: Type declarations in Elisp
Date: Wed, 23 Aug 2023 01:33:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

FWIW here are the results before I lost interest in the idea,
for now at least.

I was unable to get `elisp-benchmarks-run' to just run
specific benchmarks, but reading the docstring it claims that
it is possible, so maybe the error was on me.

Also it would be beneficial if it could just be told to just
return the values, now it can only make a table out if it -
granted, it is neat and all.

CC to Andrea Corallo who wrote it, thanks for the package and
good luck working with it in the future, it absolutely has its
place in the Elisp world.

All files:

  https://dataswamp.org/~incal/cl/bench/

  | test           | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot 
avg err (s) |
  
|----------------+----------------+------------+---------+-------------+-----------------|
  | bubble         |           0.68 |       0.18 |       1 |        0.86 |      
      0.00 |
  | bubble-no-cons |           1.06 |       0.00 |       0 |        1.06 |      
      0.00 |
  | fibn           |           0.00 |       0.00 |       0 |        0.00 |      
      0.00 |
  | fibn-rec       |           0.00 |       0.00 |       0 |        0.00 |      
      0.00 |
  | fibn-tc        |           0.00 |       0.00 |       0 |        0.00 |      
      0.00 |
  
|----------------+----------------+------------+---------+-------------+-----------------|
  | total          |          37.55 |      12.32 |      90 |       49.88 |      
      0.23 |

bubble
0.659992 s real time
1.882428 s run time

bubble-no-cons
0.807989 s real time
2.421754 s run time

fibn
0.071999 s real time
0.212986 s run time

fibn-rec
0.547993 s real time
1.644687 s run time

fibn-tc
0.407995 s real time
1.22462  s run time

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]