[Tarantool-patches] [PATCH v1 luajit 24/41] perf: adjust recursive-ack in LuaJIT-benches
Sergey Kaplun
skaplun at tarantool.org
Fri Dec 26 11:30:08 MSK 2025
Hi, Sergey!
Thanks for the review.
Added the short benchmark description as you suggested.
On 17.11.25, Sergey Bronnikov wrote:
> Hi, Sergey,
>
> thanks for the patch! LGTM
>
> Sergey
>
> On 10/24/25 13:50, Sergey Kaplun wrote:
<snipped>
> > diff --git a/perf/LuaJIT-benches/recursive-ack.lua b/perf/LuaJIT-benches/recursive-ack.lua
> > index fad30589..1172d4b3 100644
> > --- a/perf/LuaJIT-benches/recursive-ack.lua
> > +++ b/perf/LuaJIT-benches/recursive-ack.lua
> > @@ -1,3 +1,5 @@
Added the comment with the short benchmark description, as we
discussed offline:
===================================================================
diff --git a/perf/LuaJIT-benches/recursive-ack.lua b/perf/LuaJIT-benches/recursive-ack.lua
index 1172d4b3..26b4e5c9 100644
--- a/perf/LuaJIT-benches/recursive-ack.lua
+++ b/perf/LuaJIT-benches/recursive-ack.lua
@@ -1,3 +1,8 @@
+-- The benchmark to check the performance of recursive calls.
+-- Calculates the Ackermann function.
+-- For the details see:
+-- https://mathworld.wolfram.com/AckermannFunction.html
+
local bench = require("bench").new(arg)
local function Ack(m, n)
===================================================================
> > +local bench = require("bench").new(arg)
<snipped>
--
Best regards,
Sergey Kaplun
More information about the Tarantool-patches
mailing list