Cargo Features

[dependencies]
foyer-bench = { version = "0.15.3", default-features = false, features = ["deadlock", "tokio-console", "strict_assertions", "jemalloc", "jeprof", "tracing"] }
default = jemalloc

The jemalloc feature is set by default whenever foyer-bench is added without default-features = false somewhere in the dependency tree.

deadlock

Enables deadlock of foyer, deadlock_detection of parking_lot

tokio-console

Enables console-subscriber

strict_assertions

Enables strict_assertions of foyer

jemalloc default jeprof?

Enables tikv-jemallocator

jeprof = jemalloc

Enables profiling of optional tikv-jemallocator

tracing

Enables fastrace and fastrace-jaeger, tracing of foyer

foyer-bench has 7 features without comments.