diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-20 13:57:16 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-20 14:06:57 +0300 |
commit | 2ed6c3d1afbe33459cde8855299d3c327ffa30dc (patch) | |
tree | 8902c7511b485e0b4132b436239a5f03788f50ba /freebsd | |
parent | 20aef26f311cc04550cc188e237c9288d5fb7b72 (diff) | |
download | sciteco-2ed6c3d1afbe33459cde8855299d3c327ffa30dc.tar.gz |
FreeBSD: enable dlmalloc by default (--enable-malloc-replacement)
* After re-benchmarking the performance, I in fact detected a 20-25% speedup if
memory limiting is active. Both using `time` and the builtin monotic timer ::^B.
When memory limiting is disabled, there is no detectable difference to jemalloc.
The following test case was used:
sciteco -e '::^BUs 100000<@^U[^E\a]"^E\a" %a> ::^B-Qs='
* I also played around with getrusage(), but it doesn't seem to be a viable
API for detecting the currently used RSS, i.e. it does not allow recovering
from OOMs.
Diffstat (limited to 'freebsd')
0 files changed, 0 insertions, 0 deletions