Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdebusscher/serializer-comparison
https://github.com/rdebusscher/serializer-comparison
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rdebusscher/serializer-comparison
- Owner: rdebusscher
- Created: 2022-05-05T07:10:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T11:50:40.000Z (over 1 year ago)
- Last Synced: 2024-04-23T11:19:44.232Z (9 months ago)
- Language: Java
- Size: 105 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serializer Comparison
Compare the usage, performance and data sizes of several Java Serialization frameworks.
**Binary**
- JVM native solution
- MicroStream Serializer
- Google Kryo**JSON**
- Jackson
- GSON**XML**
- JAXB
## Test method
The performance is measured through the _Java Microbenchmark Harness_ JMH library.
In each module, you can find a class containing _PerformanceRun_ in it that executes the performance test for a certain
scenario.## Scenarios
The following scenarios are tested
- Scenario1: 1 single List with a large number of objects.
- Scenario2: Serialize and deserialize many small objects
- Scenario3: Object graph with Circular dependency **Not implemented yet** (Will adapt the Bookstore demo model for this purpose)## Results
See confluence page
https://microstream.atlassian.net/wiki/spaces/MSG/pages/1958674451/Serializer## TODO
Compare with specialized serializers like
- Avro
- ProtobufAdd the scenario with the circular reference.