Yan Cui
I help clients go faster for less using serverless technologies.
DISCLAIMER : as always, you should benchmark against your payload and use case, the benchmark numbers I have produced here is unlikely to be representative of your use cases and neither is anybody else’s benchmark numbers.
You can use the simple test harness I created and see these example code to benchmark against your particular payload.
Binary
Only FsPickler was updated for this benchmark so there are no significant changes in performance here.
JSON
Quiet a few of the JSON serializers had been updated since the last update:
- fastJSON
- FsPickler
- Jil
- MongoDB Driver
- ServiceStack.Text
- System.Text.Json
I have retired JayRock and JsonFx from the test since both are way behind the competition and haven’t updated for a while, so I consider both to be no longer of interest.
*protobuf-net is in this list purely as a benchmark to show how the tested JSON serializers compare to one of the fastest binary serializer in .Net.
Whenever you’re ready, here are 3 ways I can help you:
- Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game.
- Consulting: If you want to improve feature velocity, reduce costs, and make your systems more scalable, secure, and resilient, then let’s work together and make it happen.
- Join my FREE Community on Skool, where you can ask for help, share your success stories and hang out with me and other like-minded people without all the negativity from social media.
Pingback: Binary and Json benchmarks updated | theburningmonk.com