public boolean finish(int expected) throws Exception {
            latch.await();
            if (error != null) {
                throw new RuntimeException(error);
            }
            if (num != expected) {
                throw new IllegalStateException("Unexpected num: " + num);
            }
            return true;
        }
A {@link Benchmark} to check performance of armeria-grpc with large payloads in the megabytes, which is
a relatively common use case for a binary proxy (metadata + large binary blobs).
benchmarks/jmh/src/jmh/java/com/linecorp/armeria/grpc/downstream/LargePayloadBenchmark.java