#plugin #servo #heap #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
Download history 88/week @ 2022-06-15 85/week @ 2022-06-22 93/week @ 2022-06-29 75/week @ 2022-07-06 96/week @ 2022-07-13 94/week @ 2022-07-20 108/week @ 2022-07-27 97/week @ 2022-08-03 87/week @ 2022-08-10 72/week @ 2022-08-17 108/week @ 2022-08-24 97/week @ 2022-08-31 109/week @ 2022-09-07 87/week @ 2022-09-14 112/week @ 2022-09-21 105/week @ 2022-09-28

434 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