A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/saint1991/serialization-benchmark below:

saint1991/serialization-benchmark: benchmark for modern serialization systems: Apache Avro, Protocol Buffers, Apache Thrift and MessagePack written in Scala

Benchmarks against Serialization Systems

Protocol Buffers (proto3) Thrift (compact protocol) Avro CSV JSON MessagePack Schema-less? No No No No Yes Yes Require compiling schema in advance? Yes Yes No No No No

where $project is one of the name of sbt sub project (e.g. avroBench)

Sample data file generation

The schemas used in this benchmark are under schema

NOTE: This benchmark is taken place under the specific condition, results may be different under the other conditions.

Average time to encode 100,000 records in milli seconds. Protocol Buffers (proto3) Thrift (compact protocol) Avro CSV JSON (with jsoniter-scala) JSON (with circe) MessagePack (jackson-module-msgpack) MessagePack (msgpack4z) 43.0 235.8 232.6 116.8 74.6 488.7 354.8 358.0 Average time to decode 100,000 binary records in milli seconds. Protocol Buffers (proto3) Thrift (compact protocol) Avro CSV JSON (with jsoniter-scala) JSON (with circe) MessagePack (jackson-module-msgpack) MessagePack (msgpack4z) 139.5 162.9 586.0 160.8 151.3 503.5 414.9 609.5 Data size of 100,000 encoded records in MB. Protocol Buffers (proto3) Thrift (compact protocol) Avro CSV JSON MessagePack 18.5 18.3 16.7 17.4 32.2 25.7

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4