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

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

#12 in #measuring

Download history 62/week @ 2024-07-27 31/week @ 2024-08-03 26/week @ 2024-08-10 27/week @ 2024-08-17 25/week @ 2024-08-24 18/week @ 2024-08-31 22/week @ 2024-09-07 15/week @ 2024-09-14 34/week @ 2024-09-21 21/week @ 2024-09-28 30/week @ 2024-10-05 35/week @ 2024-10-12 26/week @ 2024-10-19 29/week @ 2024-10-26 29/week @ 2024-11-02 17/week @ 2024-11-09

105 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