namespace ZB.MOM.WW.CBDD.Core.Compression;

/// <summary>
/// Snapshot of aggregated compression and decompression telemetry.
/// </summary>
public readonly struct CompressionStats
{
    public long CompressedDocumentCount { get; init; }
    public long BytesBeforeCompression { get; init; }
    public long BytesAfterCompression { get; init; }
    public long CompressionCpuTicks { get; init; }
    public long DecompressionCpuTicks { get; init; }
    public long CompressionFailureCount { get; init; }
    public long ChecksumFailureCount { get; init; }
    public long SafetyLimitRejectionCount { get; init; }
}
