#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

#13 in #measuring

Download history 6/week @ 2023-12-08 10/week @ 2023-12-15 7/week @ 2023-12-22 1/week @ 2023-12-29 8/week @ 2024-01-05 13/week @ 2024-01-12 9/week @ 2024-01-19 6/week @ 2024-01-26 4/week @ 2024-02-02 10/week @ 2024-02-09 18/week @ 2024-02-16 24/week @ 2024-02-23 27/week @ 2024-03-01 28/week @ 2024-03-08 24/week @ 2024-03-15 24/week @ 2024-03-22

105 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
~41K SLoC