]> git.lizzy.rs Git - rust.git/commitdiff
Merge #5244
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 7 Jul 2020 11:00:04 +0000 (11:00 +0000)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2020 11:00:04 +0000 (11:00 +0000)
5244: Add a command to compute memory usage statistics r=matklad a=jonas-schievink

This allows inspecting memory usage on a live rust-analyzer instance after it has been used interactively.

This will only work with `--features jemalloc`, so maybe it should print something more useful when that's not available? Right now it will just print 0 Bytes for every query.

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>

Trivial merge