Skip to content

Refine buffer serialization to use spans and add benchmarks #152

Refine buffer serialization to use spans and add benchmarks

Refine buffer serialization to use spans and add benchmarks #152

Triggered via pull request October 5, 2025 16:24
Status Success
Total duration 2m 30s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L363
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
build: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L309
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
build: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L302
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
build: LiteDB/Engine/Disk/Streams/AesStream.cs#L93
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build: LiteDB/Engine/FileReader/Legacy/AesEncryption.cs#L21
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build: LiteDB/Document/BsonVector.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: LiteDB/Client/Mapper/BsonMapper.Deserialize.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: LiteDB/Engine/FileReader/FileReaderV8.cs#L23
Field 'FileReaderV8.PageInfo.PageType' is never assigned to, and will always have its default value
build: LiteDB/Document/BsonVector.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: LiteDB/Client/Mapper/BsonMapper.Deserialize.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
repro-runner: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L363
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
repro-runner: LiteDB/Engine/Disk/Streams/AesStream.cs#L93
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
repro-runner: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L309
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
repro-runner: LiteDB/Engine/Disk/Serializer/BufferWriter.cs#L302
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
repro-runner: LiteDB/Engine/FileReader/Legacy/AesEncryption.cs#L21
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
repro-runner: LiteDB/Client/Mapper/BsonMapper.Deserialize.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
repro-runner: LiteDB/Document/BsonVector.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
repro-runner: LiteDB/Engine/FileReader/FileReaderV8.cs#L23
Field 'FileReaderV8.PageInfo.PageType' is never assigned to, and will always have its default value
repro-runner: LiteDB/Document/BsonVector.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
repro-runner: LiteDB/Client/Mapper/BsonMapper.Deserialize.cs#L26
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Artifacts

Produced during runtime
Name Size Digest
repro-summary Expired
3.44 KB
sha256:4f4d7db8c0d718f729a2c6cf36d16b219f73cdd35486c272a9d601f858ace48a