Skip to main content

Module stats

Module stats 

Source
Expand description

Cache statistics and memory measurement for benchmarking.

This module provides tools for measuring memory usage and performance of the message cache, enabling before/after comparison during optimization.

Only compiled in debug builds (#[cfg(debug_assertions)]) and for the benchmarks.

Structs§

CacheStats
Statistics for message cache operations

Traits§

DeepSize
Trait for calculating deep/heap memory size of a value