In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "Java serialization library performance test analysis", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Java serialization library performance test analysis" bar!
This test focuses on the encoding and decoding of cyclefree data structures. Some serializers support circular detection / object sharing, some serializers support both models, some serializers include metadata, some do not, some are cross-platform, some only support specific languages, some are text-based, and some are binary. (please refer to ToolBehavior)
Other test data will produce different results. However, these results give the raw materials for evaluating these libraries.
Java version "1.7.051"
Java ™SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot ™64-Bit Server VM (build 24.51-b03, mixed mode)
Simple / generic:
Serialize the POJO tree without concrete optimization of the class. The serialization class is known in advance. Loop detection / target sharing detection has not been completed.
Check the correctness.
[done]
Preheat... java-built-in hessian kryo fast-serialization jboss-serialization jboss-marshalling-river protostuff msgpack-databind json/jackson/databind json/jackson/db-afterburner json/protostuff-runtime json/google-gson/databind json/svenson-databind json/flexjson/databind json/fastjson/databind smile/jackson/databind smile/jackson/db-afterburner bson/jackson/databind xml/xstream+c xml/jackson/databind-aalto
[done]
Default:
Serialize any object graph, loop detection function. The serialized class cannot be known in advance. Only serializers that support full-target graphics sequences are included.
Check the correctness.
[done]
Warm up... Java-built-in-serializer hessian kryo-serializer fast-serialization-shared jboss-serialization
[done]
Simple / specific:
Serialize only specific classes in code, or have special classes.
Check the correctness.
[done]
Preheat... kryo-opt wobly wobly-compact protobuf protostuff protobuf/protostuff thrift thrift-compact avro json/json-lib-databind json/jsonij-jpath
[done]
Manually:
Serialize specific classes only through handwritten serialization code.
Check the correctness.
[done]
Warm up... Java-manual kryo-manual protostuff-manual avro-generic json/jackson/manual json/protostuff-manual json/google-gson/manual json/json.simple/manual json/json-smart/manual/tree json/org.json/manual/tree json/argo-manual/tree smile/jackson/manual bson/mongodb xml/woodstox-manual xml/aalto-manual xml/xstream+c-woodstox xml/xstream+c-aalto xml/xstream+c-fastinfo xml/javolution xml/fastinfo-manual
[done]
Thank you for reading, the above is the content of "Java serialization library performance test and analysis". After the study of this article, I believe you have a deeper understanding of Java serialization library performance test and analysis, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.