The fastest .NET Serializer is NOT what you think
CodeWithStu
0:00 / 0:00
The fastest .NET Serializer is NOT what you think
5 165 просмотров · 4 г. назад
CodeWithStu
2,51 тыс. подписчиков
5 165 просмотров · 4 г. назад
Grab code, projects, and socials: https://codewithstu.tv
Recently, I needed to compare the current performance of .NET serializers for a project. In this video, I compare the current state of the serializers and produce some interesting results.
Link to the benchmarks repository: https://github.com/Im5tu/Serializatio...
Json Serializers
_____________________
Jil: https://www.nuget.org/packages/Jil/
Newtonsoft.Json: https://www.nuget.org/packages/Newton...
ServiceStack.Text: https://www.nuget.org/packages/Servic...
SpanJson: https://www.nuget.org/packages/SpanJson
UTF8Json: https://www.nuget.org/packages/Utf8Json
Binary Serializers
_____________________
AvroConvert: https://www.nuget.org/packages/AvroCo...
Bebop: https://www.nuget.org/packages/bebop
BSON: https://www.nuget.org/packages/MongoD...
GroBuf: https://www.nuget.org/packages/GroBuf
Hyperion: https://www.nuget.org/packages/Hyperion
MessagePack: https://www.nuget.org/packages/Messag...
MsgPack: https://www.nuget.org/packages/MsgPac...
protobuf-net: https://www.nuget.org/packages/protob...
📖 Chapters 📖
__________________
0:00 - Introduction & Rules
2:27 - Project setup
4:15 - JSON Results
4:42 - Binary Results
5:40 - Payload Sizes
#CodeWithStu #DotNet #AspNetCore