Skip to content

amesy-team/dhat-rs

This branch is 6 commits behind nnethercote/dhat-rs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cd542fc · Oct 31, 2022
Nov 19, 2021
Jan 5, 2022
Oct 31, 2022
Jun 23, 2022
Dec 7, 2020
Dec 13, 2020
Oct 31, 2022
Dec 7, 2020
Dec 7, 2020
Jan 16, 2022

Repository files navigation

dhat-rs

This crate provides heap profiling and ad hoc profiling capabilities to Rust programs, similar to those provided by DHAT.

It also provides heap usage testing capabilities, which let you write tests that check things like:

  • "This code should do exactly 96 heap allocations".
  • "The peak heap usage of this code should be less than 10 MiB".
  • "This code should free all heap allocations before finishing".

It provides helpful details if these fail.

See the crate documentation for details on how to use it.

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.

About

Heap profiling and ad hoc profiling for Rust programs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%