foyer-rs/foyer

perf: high memory deallocation overhead

Closed this issue · 1 comments

On inserting while benchmarking with foyer-bench, nearly 1/3 CPU was consumed by deallocation in drop. It increased the critical path of inserting.

May mitigate via drop in another thread?

image

Affected by my abnormal memory frequency. Close.