Comments (2)
-
Regarding Benchmark.NET I have mixed feelings about it. It is nice for micro benchmarks but the serializer tests are not really micro benchmarks. I explictely want to test O(n) behavior. For that I need many invocations of a method with different parameters. I prefer a real profiler which has nearly zero overhead like ETW where I get GC, excpetions, VirtualAlloc and such all for free and I can later drill into the data to compare the serializers not only by the timing but also why a specific method was slow.
-
I have added with commit d260a7f also some reference tracking tests which contain interesting results.
see https://aloiskraus.wordpress.com/2018/05/06/serialization-performance-update-with-net-4-7-2/
The ReferenceBookShelf contains a dictionary of DateTime objects which share the same string reference.
That should bring nearly all types you wanted to see as well (at least floats).
This test did show that FastJSON cannot round trip DateTime objects and JIL cannot cope with Dictionaries having DateTime objects as keys. -
The article table formatting is fixed now. The crazy wordpress template is always squishing my tables.
-
The updated article should address the other missing information now as well.
Is the current state sufficient for you now? The goal is that you can use the project and try some new serializers with your custom objects out to see if the performance is so good or not. Bringing many more tests for different data types is in my opinion of no use since you will quickly run into graph and information overload. It is better to try your specific objects with the test suite and check for yourself.
from serializertests.
I will close this one. Good idea for the requirement table if the serializer can serialize private fields, properties, .. . This will be really useful.
from serializertests.
Related Issues (11)
- Request for serializer named Ceras HOT 2
- SpanJson serializer
- The SlimSerializer might get 20%-75% speed boost if you use BatchMode
- New benchmark for January 2020 HOT 2
- Apache Avro Serializer Support HOT 1
- Thank You + HyperSerializer HOT 1
- Can't build solution HOT 2
- Serializer request: Hyperion HOT 5
- A few flaws HOT 4
- New serializer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serializertests.