Skip to content

perf: Cache helper instances in ColorHash to reduce allocations #22

perf: Cache helper instances in ColorHash to reduce allocations

perf: Cache helper instances in ColorHash to reduce allocations #22

Triggered via push February 9, 2026 23:47
Status Success
Total duration 1m 19s
Artifacts

dotnet-core.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorHashTest.cs#L242
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorToRgbTest.cs#L81
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorConversionEdgeCasesTest.cs#L140
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/SimpleColorTransformsTest.cs#L387
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/SimpleColorTransformsTest.cs#L400
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorHashTest.cs#L242
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorToRgbTest.cs#L81
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/ColorConversionEdgeCasesTest.cs#L140
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/SimpleColorTransformsTest.cs#L387
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
build-and-test (net9.0): src/ColorHashSharp.Tests/SimpleColorTransformsTest.cs#L400
Do not use Assert.NotNull() on value type 'Color'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)