[Tarantool-patches] [PATCH luajit 2/2] profilers: purge generation mechanism
Igor Munkin
imun at tarantool.org
Mon Nov 13 21:48:43 MSK 2023
Max,
On 12.09.23, Maxim Kokryashkin via Tarantool-patches wrote:
>
> Hi, Sergey!
> Sure, consider this script:
> | jit.off()
> | misc.sysprof.start{mode = 'C', interval=10}
> | for i = 1, 1e7 do tostring(i) end
> | misc.sysprof.stop()
>
> After running it with luajit you can parse the output
> like this:
> | $ time -v luajit-parse-sysprof sysprof.bin
>
> So, before the patch:
> | Maximum resident set size (kbytes): 224928
>
> And after the patch:
> | Maximum resident set size (kbytes): 32780
>
> Which is 85% reduction in memory consumption.
Neat, thanks for the patch!
> --
> Best regards,
> Maxim Kokryashkin
>
<snipped>
>
--
Best regards,
IM
More information about the Tarantool-patches
mailing list