bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45200: [PATCH] Force Glibc to free the memory freed


From: Stefan Monnier
Subject: bug#45200: [PATCH] Force Glibc to free the memory freed
Date: Tue, 02 Feb 2021 23:45:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Results are:
>
>     with malloc_trim:
>         (8.920371394 232 2.106283245)
>         (9.038083601 231 2.060810826)
>         (9.140798641 231 2.0594013240000004)
>
>     without malloc_trim:
>         (8.987097209 232 2.070143482)
>         (8.700478084 231 1.7745506179999997)
>         (8.781121056 231 1.7870093610000004)
>
> The difference is just 3-4% (8.7 / 9 ≈ 0.9666666667). It looks to me
> insignificant enough to not show up anywhere during interactive work
> with Emacs.

It's indeed not too costly, but what about the upside?


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]