有没有人比较或有任何 JSON 解析的 Bond 与 JIL 的基准?

Has anyone compared or have any benchmarks of Bond vs JIL for JSON parsing?

BOND 是一个用于处理模式化数据的跨平台框架。它支持跨语言 de/serialization 和强大的通用机制来高效地操作数据。 Bond 在 Microsoft 的大规模服务中得到广泛使用。

它是用 Haskell 编写的,显然比 protobuf 快

JIL 一个快速的 JSON (反)序列化器,建立在 Sigil 之上,带有一些疯狂的优化技巧。

它是使用 IL 编写的,显然比 protobuf 更快

但我还没有看到 任何人 对两者进行比较,而且我目前无法 运行 在开发环境中进行基准测试。

Microsoft Bond 最近添加到此 JSON serializer benchmark blog post:

但请注意警告:

There is no such thing as the “best serializer”. If you invest time in optimizing code, the loser will be winner. If you change the test data, the winner would not be winner anymore.