Can (native-comp-speed 3) help here?

On Mon, May 25, 2020, 09:16 Alex Bennée <alex.bennee@linaro.org> wrote:

Andrea Corallo <akrl@sdf.org> writes:

> Alex Bennée <alex.bennee@linaro.org> writes:
>
>> Andrea Corallo <akrl@sdf.org> writes:
>>
>>> Andrea Corallo <akrl@sdf.org> writes:
>>>
<snip>
>>   |----------------+----------------+------------+---------+-------------+-----------------|
>>   | total          |         130.97 |       7.81 |       5 |      138.78 |            7.21 |
>
> Does that means that we are observing a 15x perf uplift?
>
> What's the uarch are we looking at?
>
> Simple uarch usually benefit more, 15x is a lot tho.

I've recently updated the host OS to the latest Ubuntu LTS so I was
trying to gather details with the system emacs for comparison:

  "GNU Emacs 26.3 (build 2, aarch64-unknown-linux-gnu)
   of 2020-03-26, modified by Debian"

But I don't seem to be able to get through one iteration. Could it be a
.elc breakage between 26 and master or something else?

  Compiling... /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.el
  Compiling /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.el...done
  Wrote /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.elc
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits.elc...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bubble-no-cons...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/bubble...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/dhrystone...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn-rec...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn-tc...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/fibn...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/inclist...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/listlen-tc...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/nbody...done
  Loading /home/alex/.emacs.d/elpa/elisp-benchmarks-1.5/benchmarks/pidigits...done
  Iteration number: 1
  Running bubble-no-cons...
  Running bubble...
  Running dhrystone...
  Running fibn-rec...
  Running fibn-tc...
  Running fibn...
  Running inclist...
  Running listlen-tc...
  Re-entering top level after C stack overflow

I've tried various combinations of:

  (setq max-specpdl-size 650)
  (setq max-lisp-eval-depth 400)

but I'm mainly just guessing without any concrete idea of what numbers I
should be going for. Any ideas?

--
Alex Bennée