#size #stack #heap #macro

mm0_deepsize_derive

A crate for measuring the total size of object on the stack and heap

2 releases

0.1.2 Jun 18, 2021
0.1.1 Apr 22, 2021

#57 in Profiling


Used in 2 crates

MIT license

7KB
142 lines

Deepsize MM0 fork

This is a fork of the deepsize crate for use with mm0-rs and supporting crates.


lib.rs:

A basic DeepSizeOf Derive implementation

Mainly from syn's heap_size derive example: https://github.com/dtolnay/syn/commits/master/examples/heapsize/heapsize_derive/src/lib.rs

Dependencies

~295–710KB
~18K SLoC