GitXplorerGitXplorer
n

dhat-rs

public
762 stars
39 forks
13 issues

Commits

List of commits on branch master.
Unverified
b536631fd9d9103d7191b63181f67755b5958ab5

Release 0.3.3.

nnnethercote committed a year ago
Unverified
ee5402eea3201dacc311b220dfd7e829150208e2

Fix typo.

nnnethercote committed a year ago
Unverified
8d60ec6200872585b3e18a7f53a14d1fd4183e3e

Add missing colon.

nnnethercote committed a year ago
Unverified
05c8e86a54dfae6001f52675d6db5ee1ddddb4ca

Adjust warning.

nnnethercote committed a year ago
Unverified
f367925e9035bc42ceab2a4bbe0d094f1a68ebc2

Add warnings about lack of maintenance.

nnnethercote committed a year ago
Unverified
cd542fcbaef97169d55af0127ff02c58e5967c10

Release 0.3.2.

nnnethercote committed 2 years ago

README

The README file for this repository.

dhat-rs

Warning: This crate is experimental. It relies on implementation techniques that are hard to keep working for 100% of configurations. It may work fine for you, or it may crash, hang, or otherwise do the wrong thing. Its maintenance is not a high priority of the author. Support requests such as issues and pull requests may receive slow responses, or no response at all. Sorry!

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.