对JSON BinPack进行基准测试
Benchmarking JSON BinPack
摘要:
在本文中,我们提出了一个新的序列化规范:JSON BinPack的预生产实现的基准测试结果。JSON BinPack是一个基于JSON Schema的模式驱动和无模式顺序二进制序列化规范。它具有丰富的编码,旨在提高网络性能并降低基于Internet的软件系统的运营成本。我们展示了27个JSON文档的基准测试结果,对于每个图,我们展示了产生最小位串的模式驱动和无模式序列化规范。通过大量的图表和统计比较,我们表明,对于所考虑的27个文档,模式驱动模式下的JSON BinPack与其他序列化规范一样具有空间效率,或者更具有空间效率。与JSON相比,模式驱动模式下的JSON BinPack的中值和平均大小分别减少了86.7%和78.7%。我们还表明,JSON BinPack二进制序列化规范的无模式模式与考虑中的27个文档的其他无模式序列化规范相比,具有空间效率或更高的空间效率。与JSON相比,无模式模式的JSON BinPack分别提供了30.6%和30.5%的中值和平均大小减少。与其他模式驱动的二进制序列化规范不同,模式驱动模式下的JSON BinPack与最佳情况下的压缩JSON相比,在中值和平均值方面具有空间效率,分别减少了76.1%和66.8%。我们已经在GitHub上的jviotti/binary-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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。