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

nightly heapsize_plugin

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

8 releases

Uses old Rust 2015

0.1.6 Sep 6, 2016
0.1.5 May 17, 2016
0.1.4 Feb 26, 2016
0.1.2 Dec 22, 2015
0.0.1 Aug 11, 2015

#11 in #measuring

Download history 12/week @ 2023-11-27 2/week @ 2023-12-04 14/week @ 2024-02-12 31/week @ 2024-02-19 45/week @ 2024-02-26 24/week @ 2024-03-04 25/week @ 2024-03-11

127 downloads per month

MPL-2.0 license

5KB
80 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.


lib.rs:

Attributes this crate provides:

  • #[derive(HeapSizeOf)] : Auto-derives an implementation of HeapSizeOf for a struct or enum.

No runtime deps