]> git.lizzy.rs Git - rust.git/commit
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)
commit73e972a173523fd37224c1b6649e0690d2fcdbec
tree563aa911598649e4c4a1f5719b5fe63a863f14a8
parent0719f2824c01839c19fee944e9f15d15409d74d4
parentf44c4b61e131284287b24dea6da6324cbe9cb252
Merge #5244

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>