emacs-devel
[Top][All Lists]
Advanced

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

Re: Type declarations in Elisp


From: Ihor Radchenko
Subject: Re: Type declarations in Elisp
Date: Sun, 27 Aug 2023 17:15:31 +0000

Andrea Corallo <acorallo@gnu.org> writes:

>> I got the same 0.0 numbers using -batch call with default settings,
>> which should be speed 2.
>
> I'm not sure abut what you mean with "using -batch call with default
> settings", a detailed reproducer would probably make commenting easier.

emacs -batch -l .../elisp-benchmarks.el -f elisp-benchmarks-run

  | 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 |

full benchamrk report:

  | test               | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | 
tot avg err (s) |
  
|--------------------+----------------+------------+---------+-------------+-----------------|
  | bubble             |           0.68 |       0.06 |       1 |        0.73 |  
          0.05 |
  | bubble-no-cons     |           1.17 |       0.00 |       0 |        1.17 |  
          0.07 |
  | bytecomp           |           1.64 |       0.32 |      13 |        1.95 |  
          0.03 |
  | dhrystone          |           2.13 |       0.00 |       0 |        2.13 |  
          0.02 |
  | eieio              |           1.19 |       0.13 |       7 |        1.32 |  
          0.04 |
  | fibn               |           0.00 |       0.00 |       0 |        0.00 |  
          0.00 |
  | fibn-named-let     |           1.47 |       0.00 |       0 |        1.47 |  
          0.04 |
  | fibn-rec           |           0.00 |       0.00 |       0 |        0.00 |  
          0.00 |
  | fibn-tc            |           0.00 |       0.00 |       0 |        0.00 |  
          0.00 |
  | flet               |           1.41 |       0.00 |       0 |        1.41 |  
          0.03 |
  | inclist            |           0.84 |       0.00 |       0 |        0.84 |  
          0.03 |
  | inclist-type-hints |           0.76 |       0.00 |       0 |        0.76 |  
          0.00 |
  | listlen-tc         |           0.12 |       0.00 |       0 |        0.12 |  
          0.01 |
  | map-closure        |           5.25 |       0.00 |       0 |        5.25 |  
          0.02 |
  | nbody              |           1.47 |       0.15 |       1 |        1.62 |  
          0.07 |
  | pack-unpack        |           0.38 |       0.02 |       1 |        0.40 |  
          0.00 |
  | pack-unpack-old    |           1.13 |       0.05 |       3 |        1.19 |  
          0.03 |
  | pcase              |           1.77 |       0.00 |       0 |        1.77 |  
          0.01 |
  | pidigits           |           5.04 |       0.97 |      17 |        6.00 |  
          0.06 |
  | scroll             |           0.58 |       0.00 |       0 |        0.58 |  
          0.02 |
  | smie               |           1.47 |       0.05 |       2 |        1.52 |  
          0.02 |
  
|--------------------+----------------+------------+---------+-------------+-----------------|
  | total              |          28.49 |       1.74 |      45 |       30.23 |  
          0.16 |


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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