Benchmark: Manual Serialization vs Json Serializer | CodeNameK - 07

Опубликовано: 11 Июнь 2026
на канале: Code with Saar
396
5

What is serialization? Is manual serialization faster than json serializer? How to find it out?

Resources
Discord server for Code w/ Saar:   / discord  

Serialization Demo code: https://github.com/xiaomi7732/CodeWit...

Serialization Benchmark example: https://github.com/xiaomi7732/CodeWit...

Reference

BenchmarkDotNet: https://benchmarkdotnet.org/articles/...

Binary Formatter security guide: https://docs.microsoft.com/en-us/dotn...

Json.NET: https://www.newtonsoft.com/json

System.Text.Json: https://docs.microsoft.com/en-us/dotn...

XML Serialization: https://docs.microsoft.com/en-us/dotn...

Chapters

00:00 Happy Thanks Giving!
00:43 Issue description: Serialize for saving, deserialize for processing
02:09 Serialization & De-serialization with Demos by manual or by the serializer
09:29 Benchmark: Manual vs Serializer