A Benchmark of JSON-compatible Binary Serialization Specifications

01/09/2022
by   Juan Cruz Viotti, et al.
0

We present a comprehensive benchmark of JSON-compatible binary serialization specifications using the SchemaStore open-source test suite collection of over 400 JSON documents matching their respective schemas and representative of their use across industries. We benchmark a set of schema-driven (ASN.1, Apache Avro, Microsoft Bond, Cap'n Proto, FlatBuffers, Protocol Buffers, and Apache Thrift) and schema-less (BSON, CBOR, FlexBuffers, MessagePack, Smile, and UBJSON) JSON-compatible binary serialization specifications. Existing literature on benchmarking JSON-compatible binary serialization specifications demonstrates extensive gaps when it comes to binary serialization specifications coverage, reproducibility and representativity, the role of data compression in binary serialization and the choice and use of obsolete versions of binary serialization specifications. We introduce a tiered taxonomy for JSON documents consisting of 36 categories classified as Tier 1, Tier 2 and Tier 3 as a common basis to class JSON documents based on their size, type of content, characteristics of their structure and redundancy criteria. We built and published a free-to-use online tool to automatically categorize JSON documents according to our taxonomy that generates related summary statistics. In the interest of fairness and transparency, we adhere to reproducible software development standards and publicly host the benchmark software and results on GitHub.

READ FULL TEXT

page 11

page 32

research
01/06/2022

A Survey of JSON-compatible Binary Serialization Specifications

In this paper, we present the recent advances that highlight the charact...
research
11/23/2022

Benchmarking JSON BinPack

In this paper, we present benchmark results for a pre-production impleme...
research
11/21/2022

JSON Stats Analyzer

In this paper, we present the JSON Stats Analyzer, a free-to-use open-so...
research
06/15/2019

The Anatomy of Requirements

Requirements engineering is crucial to software development but lacks a ...
research
08/24/2017

Exploring the Link Between Test Suite Quality and Automatic Specification Inference

While no one doubts the importance of correct and complete specification...
research
06/20/2023

UVSCAN: Detecting Third-Party Component Usage Violations in IoT Firmware

Nowadays, IoT devices integrate a wealth of third-party components (TPCs...
research
11/13/2017

Detecting Near Duplicates in Software Documentation

Contemporary software documentation is as complicated as the software it...

Please sign up or login with your details

Forgot password? Click here to reset