- Add BSON (MongoDB.Bson) as a serialization format in benchmarks, enabling direct comparison with AcBinary, MessagePack, and JSON. - Update all AcBinary benchmarks to use options without reference handling for fair comparison. - Show BSON results and ratios in benchmark output and size comparisons. - Refactor AcBinaryDeserializer to use a fixed-size array for type reader dispatch, improving lookup speed and reducing allocations. - Add a concurrent cache for type conversion info to optimize enum and nullable conversions. - Use a cached UTF8Encoding instance for string decoding. - Use FrozenDictionary for property lookup in BinaryDeserializeTypeMetadata. - Remove legacy WithRef code paths and clean up formatting and comments. - Improve error handling and fallback logic for BSON serialization/deserialization. |
||
|---|---|---|
| .. | ||
| AyCode.Benchmark.csproj | ||
| Program.cs | ||
| SerializationBenchmarks.cs | ||
| SignalRCommunicationBenchmarks.cs | ||
| SignalRRoundTripBenchmarks.cs | ||
| TaskHelperBenchmarks.cs | ||