Introduction

Here are benchmarking results for «Scala Serialization 2022» blog post. Graphs from the previous runs (2016-2018) are here.

The performance tests are performed via JMH. The configuration of a hardware is Intel® Core™ i7-1165G7 @ 2.80GHz × 8 (4 core + 4 HT) with 16 GB RAM. Scala version: 2.13.6.

Misc

  • Latest version of jsoniter doesn't work on openjdk-8.
  • Java Serialization, circe and chill are by far the slowest. You may turn it off on charts to make it more readable.

Charts

avg - average, min - minimal, p50 - percentile 50 (median), p95 - percentile 95, p99 - percentile 99, max - maximum

Site DTO

Events

Progression depending on data size

It doesn't show anything unusual, which is a good sign.

Site DTO

Events

Full JMH logs:openjdk-8, openjdk-11, openjdk-17.