#heap #measuring #heap-allocation #heapsize #programs #automatic #run-time

macro heapsize_derive

Automatically generating infrastructure for measuring the total runtime size of an object on the heap

5 releases

Uses old Rust 2015

0.1.4 Feb 27, 2017
0.1.3 Nov 20, 2016
0.1.2 Nov 3, 2016
0.1.1 Nov 2, 2016
0.1.0 Nov 2, 2016

#14 in #measuring

Download history 24/week @ 2024-03-11 22/week @ 2024-03-18 18/week @ 2024-03-25 45/week @ 2024-04-01 17/week @ 2024-04-08 23/week @ 2024-04-15 23/week @ 2024-04-22 20/week @ 2024-04-29 26/week @ 2024-05-06 22/week @ 2024-05-13 23/week @ 2024-05-20 27/week @ 2024-05-27 24/week @ 2024-06-03 21/week @ 2024-06-10 24/week @ 2024-06-17 24/week @ 2024-06-24

95 downloads per month
Used in html5ever-atoms

MPL-2.0 license

5KB
113 lines

heapsize

In support of measuring heap allocations in Rust programs.

API Documentation

Status

This crate is not maintained and is no longer used by Servo. At the time of writing, Servo uses internal malloc_size_of instead.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~42K SLoC