[Tarantool-patches] [PATCH luajit 2/2] profilers: purge generation mechanism
Sergey Bronnikov
sergeyb at tarantool.org
Fri Oct 6 17:40:52 MSK 2023
Max,
On 9/12/23 13:26, Maxim Kokryashkin 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.
>
I would put these number to commit message.
Feel free to ignore.
More information about the Tarantool-patches
mailing list