feat: add DHAT profiler (#52)

This commit is contained in:
Kevin Caffrey
2023-12-07 15:22:16 -05:00
committed by GitHub
parent 72e1283c11
commit ff6b542114
8 changed files with 404 additions and 5 deletions

View File

@@ -5,13 +5,19 @@ authors = ["Felix Spöttel <1682504+fspoettel@users.noreply.github.com>"]
edition = "2021"
default-run = "advent_of_code"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
doctest = false
[features]
test_lib = []
dhat-heap = ["dhat"]
[dependencies]
pico-args = "0.5.0"
dhat = { version = "0.3.2", optional = true }
[profile.dhat]
inherits = "release"
debug = 1