public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder()
      .include(".*" + SpanBenchmarks.class.getSimpleName() + ".*")
      .addProfiler("gc")
      .build();

    new Runner(opt).run();
  }
manually implemented with json so not as slow as normal java
benchmarks/src/test/java/zipkin2/SpanBenchmarks.java