Skip to content
Snippets Groups Projects
Commit b337ff1e authored by Sergey Kaplun's avatar Sergey Kaplun Committed by Sergey Ostanevich
Browse files

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
parent a29becf4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment