@Benchmark
  public byte[] deserialize_kryo() {
    Output output = new Output(clientSpanSerialized.length);
    kryo.writeObject(output, clientSpan);
    output.flush();
    return output.getBuffer();
  }
manually implemented with json so not as slow as normal java
benchmarks/src/test/java/zipkin2/SpanBenchmarks.java