memtrace

Crates.iomemtrace
lib.rsmemtrace
version0.2.3
created_at2025-06-20 20:30:41.852953+00
updated_at2025-06-21 07:48:19.266548+00
descriptionA CLI tool for generation heap consumption flamegraphs
homepagehttps://github.com/blkmlk/memtrace
repositoryhttps://github.com/blkmlk/memtrace
max_upload_size
id1720172
size95,651
Islam Bekbuzarov (blkmlk)

documentation

README

memtrace

MemTrace

example

A Rust-based tool for visualizing heap memory consumption using flamegraphs. It helps you profile your app.

The tool is using the flamegraph crate for building flamegraphs

ℹ️ Info: So far, the tool works only on MacOS.

⚠️ Warning: At the moment, this tool requires downloading a dynamic library to function. The library is open source and can be found here.

If you know a better solution - feel free to open a pull request

Installation

cargo install memtrace

Usage

ℹ️ Info: Make sure your app is built in debug mode

memtrace <your_program>

License: MIT

Commit count: 0

cargo fmt