Skip to content

Commit

Permalink
feat: add DHAT profiler (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcaffrey authored Dec 7, 2023
1 parent 72e1283 commit ff6b542
Show file tree
Hide file tree
Showing 8 changed files with 404 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ data/inputs/*
!data/inputs/.keep
data/puzzles/*
!data/puzzles/.keep

# Dhat
dhat-heap.json
349 changes: 349 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ authors = ["Felix Spöttel <[email protected]>"]
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
Loading

0 comments on commit ff6b542

Please sign in to comment.