Skip to content

Commit

Permalink
feat: support jeprof for foyer-bench
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <mrcroxx@outlook.com>
  • Loading branch information
MrCroxx committed Sep 28, 2024
1 parent 7b2b9ce commit 9bce4cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ docker-compose.override.yaml
perf.data*
flamegraph.svg

trace.txt
trace.txt
jeprof.out.*
*.collapsed
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ foyer-storage = { version = "0.12.0-dev", path = "foyer-storage" }
foyer = { version = "0.12.0-dev", path = "foyer" }

[profile.release]
debug = true
debug = "full"
2 changes: 1 addition & 1 deletion foyer-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
zipf = "7"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.6", optional = true }
tikv-jemallocator = { version = "0.6", features = ["profiling"], optional = true }

[features]
deadlock = ["parking_lot/deadlock_detection", "foyer/deadlock"]
Expand Down

0 comments on commit 9bce4cc

Please sign in to comment.