microsoft / microsoft/mimalloc

print current_rss info in mi_stats_print

Open
#1,169 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

It seems mimalloc only print peak_rss(it seems kind of misleading that it use "rss" other than "peak_rss" in log https://github.com/microsoft/mimalloc/blob/main/src/stats.c#L367) in `mi_stats_print`, and `current_rss` seems also useful and worthy to print out too.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open src/stats.c around line 367 and inspect mi_stats_print and the existing peak_rss reporting. Trace how current_rss is obtained, then make the printed labels distinguish current_rss from peak_rss; done means mi_stats_print reports both values without making rss ambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.