Skip to content

Use pool of MemoryStream to reduce memory pressure #261

Use pool of MemoryStream to reduce memory pressure

Use pool of MemoryStream to reduce memory pressure #261

Triggered via pull request August 27, 2024 19:25
Status Success
Total duration 3m 11s
Artifacts

benchmark.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Short: ClickHouse.Client/ADO/ClickHouseConnectionStringBuilder.cs#L7
Type 'ClickHouseConnectionStringBuilder' directly or indirectly inherits 'ICollection' without implementing any of 'ICollection<T>', 'IReadOnlyCollection<T>'. Publicly-visible types should implement the generic version to broaden usability. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1010)
Short: ClickHouse.Client/Numerics/ClickHouseDecimal.cs#L21
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Short: ClickHouse.Client/ADO/Feature.cs#L26
Provide a message for the ObsoleteAttribute that marks Geo as Obsolete (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041)
Short: ClickHouse.Client/ClickHouseServerException.cs#L64
Prefer 'AsSpan' over 'Substring' when span-based overloads are available (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1846)
Short: ClickHouse.Client/Copy/ClickHouseBulkCopy.cs#L190
Forward the 'token' parameter to the 'Run' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)