@Benchmark
  public Span serialize_kryo() {
    return kryo.readObject(new Input(clientSpanSerialized), Span.class);
  }
manually implemented with json so not as slow as normal java
benchmarks/src/test/java/zipkin2/SpanBenchmarks.java