Our great sponsors
-
µPickle
uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Sources of benchmarks are here.
See here for sample code size numbers (not picking on upickle specifically, it's just what I'm using myself. I've heard similar reports about e.g. circe)
The summary would be that jsoniter-scala-core API can speed up AST-based parsers like circe and play-json greatly. But the code generated by jsoniter-scala-macros API is much more efficient, so I'm expecting that some JSON parsers that allow derivation of direct codecs will port or reuse best implementations from jsoniter-scala-core API like here or here.