diff options
author | guybe7 <guy.benoish@redislabs.com> | 2022-04-17 07:31:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 08:31:57 +0300 |
commit | fe1c096b1849b633f41f69f432c4236428035950 (patch) | |
tree | 1c698865eabc25e86045e7d19a2653ad84015e7e /runtest-moduleapi | |
parent | effa707e9db3e9d00fff06d45e2a5a81d3d55fa9 (diff) | |
download | redis-fe1c096b1849b633f41f69f432c4236428035950.tar.gz |
Add RM_MallocSizeString, RM_MallocSizeDict (#10542)
Add APIs to allow modules to compute the memory consumption of opaque objects owned by redis.
Without these, the mem_usage callbacks of module data types are useless in many cases.
Other changes:
Fix streamRadixTreeMemoryUsage to include the size of the rax structure itself
Diffstat (limited to 'runtest-moduleapi')
-rwxr-xr-x | runtest-moduleapi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtest-moduleapi b/runtest-moduleapi index 38c0d5434..81af306e5 100755 --- a/runtest-moduleapi +++ b/runtest-moduleapi @@ -40,6 +40,7 @@ $TCLSH tests/test_helper.tcl \ --single unit/moduleapi/zset \ --single unit/moduleapi/list \ --single unit/moduleapi/stream \ +--single unit/moduleapi/mallocsize \ --single unit/moduleapi/datatype2 \ --single unit/moduleapi/cluster \ --single unit/moduleapi/aclcheck \ |