Cargo Features

[dependencies]
foyer-bench = { version = "0.14.1", default-features = false, features = ["deadlock", "tokio-console", "strict_assertions", "sanity", "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

sanity

Enables sanity 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 8 features without comments.