mirror of https://github.com/grpc/grpc-java.git
Protoc should be in PATH and the project properties protobuf.include and protobuf.libs should be set. For example: gradlew build -Pprotobuf.include=C:\path\to\protobuf-3.0.0-alpha-2\src ^ -Pprotobuf.libs=C:\path\to\protobuf-3.0.0-alpha-2\vsprojects\Release When running more than once, it is probably more convenient to create %HOMEDRIVE%%HOMEPATH%\.gradle\gradle.properties with contents like: protobuf.include=C:\\path\\to\\protobuf-3.0.0-alpha-2\\src protobuf.libs=C:\\path\\to\\protobuf-3.0.0-alpha-2\\vsprojects\\Release |
||
|---|---|---|
| .. | ||
| src/main | ||
| README.md | ||
| build.gradle | ||
README.md
grpc Benchmarks
QPS Benchmark
The "Queries Per Second Benchmark" allows you to get a quick overview of the throughput and latency characteristics of grpc.
To build the benchmark type
$ ./gradlew :grpc-benchmarks:installApp
from the grpc-java directory.
You can now find the client and the server executables in benchmarks/build/install/grpc-benchmarks/bin.
The C++ counterpart can be found at https://github.com/grpc/grpc/tree/master/test/cpp/qps