论文标题

基准测试JSON BINPACK

Benchmarking JSON BinPack

论文作者

Viotti, Juan Cruz, Kinderkhedia, Mital

论文摘要

在本文中,我们为新型序列化规范的预生产实现提供了基准结果:JSON BINPACK。 JSON BINPACK是基于JSON模式的架构驱动和无模式的顺序二进制序列化规范。它具有丰富的编码,并旨在提高网络性能并降低基于Internet的软件系统的运营成本。我们为27个JSON文档提供了基准结果,并且对于每个图,我们显示了架构驱动的无模式的序列化规范,这些规范产生了最小的位串。通过广泛的图和统计比较,我们表明,在模式驱动模式下,JSON BINPACK比所考虑的27个文档的所有其他序列化规范都具有空间效率或更高的空间效率。与JSON相比,在模式驱动模式下以JSON BINPACK的中位数和平均大小降低为86.7%和78.7%。我们还表明,与所考虑的27个文档相比,JSON BINPACK二进制序列化规范的无模式模式与其他所有其他无模式的序列化规范相比,具有空间效率或更高的空间效率。与JSON相比,在无模式模式下的JSON BINPACK分别提供了中位数和平均大小的30.6%和30.5%。与其他考虑的架构驱动的二元序列化规范不同,在模式驱动模式下,JSON BINPACK与最佳案例压缩JSON相比,在中位数和平均值分别降低了76.1%和66.8%,相比之下。我们已经在Github的Jviotti/二进制二元 - json-size-Benchmark上获得了基准结果。

In this paper, we present benchmark results for a pre-production implementation of a novel serialization specification: JSON BinPack. JSON BinPack is a schema-driven and schema-less sequential binary serialization specification based on JSON Schema. It is rich in diverse encodings, and is developed to improve network performance and reduce the operational costs of Internet-based software systems. We present benchmark results for 27 JSON documents and for each plot, we show the schema-driven and schema-less serialization specifications that produce the smallest bit-strings. Through extensive plots and statistical comparisons, we show that JSON BinPack in schema-driven mode is as space-efficient or more space-efficient than every other serialization specification for the 27 documents under consideration. In comparison to JSON, JSON BinPack in schema-driven mode provides a median and average size reductions of 86.7% and 78.7%, respectively. We also show that the schema-less mode of the JSON BinPack binary serialization specification is as space-efficient or more space-efficient than every other schema-less serialization specification for the 27 documents under consideration. In comparison to JSON, JSON BinPack in schema-less mode provides a median and average size reductions of 30.6% and 30.5%, respectively. Unlike other considered schema-driven binary serialization specifications, JSON BinPack in schema-driven mode is space-efficient in comparison to best-case compressed JSON in terms of the median and average with size reductions of 76.1% and 66.8%, respectively. We have made our benchmark results available at jviotti/binary-json-size-benchmark on GitHub.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源