From d946418cb7732e383054a613bb28df94acb1176e Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Thu, 17 Oct 2019 20:08:02 -0700 Subject: [PATCH] Add proto --- .../tests/stress/unary_stream_benchmark.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/python/grpcio_tests/tests/stress/unary_stream_benchmark.proto diff --git a/src/python/grpcio_tests/tests/stress/unary_stream_benchmark.proto b/src/python/grpcio_tests/tests/stress/unary_stream_benchmark.proto new file mode 100644 index 00000000000..4824b2c57d1 --- /dev/null +++ b/src/python/grpcio_tests/tests/stress/unary_stream_benchmark.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +message BenchmarkRequest { + int32 message_size = 1; + int32 response_count = 2; +} + +message BenchmarkResponse { + bytes response = 1; +} + +service UnaryStreamBenchmarkService { + rpc Benchmark(BenchmarkRequest) returns (stream BenchmarkResponse); +}