From b337ff1e5124842b5a858247b68e060ee202ef38 Mon Sep 17 00:00:00 2001 From: Sergey Kaplun <skaplun@tarantool.org> Date: Tue, 4 Jun 2024 15:38:44 +0300 Subject: [PATCH] perf: clarify comments in the uri_escape_unescape This patch rewrites comments regarding JIT compiler options to avoid confusion. NO_DOC=perf test NO_CHANGELOG=perf test NO_TEST=perf test --- perf/lua/uri_escape_unescape.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perf/lua/uri_escape_unescape.lua b/perf/lua/uri_escape_unescape.lua index 042af9d0e4..04bb5dcf34 100644 --- a/perf/lua/uri_escape_unescape.lua +++ b/perf/lua/uri_escape_unescape.lua @@ -24,9 +24,9 @@ local decode_sample = uri.escape(encode_sample, escape_opts) -- iterations slower than next ones. To avoid such effect we can introduce -- "warmup" iterations, disable JIT at all or make JIT compilation -- aggressive from the beginning. --- - hotloop=1 enables compilation in loops on first iteration. --- - hotexit=1 enables faster compilation for root traces as well as side --- traces. +-- - hotloop=1 enables compilation in loops after the first iteration. +-- - hotexit=1 enables faster compilation for side traces after +-- exit the parent trace. jit.opt.start("hotloop=1", "hotexit=1") local cycles = 10^3 -- GitLab