tree: e41817687ec5d4e9871de8c74e181aadb7397a46 [path history] [tgz]
  1. src/
  2. Cargo.toml
  3. README.md
benchmark/README.md

For benchmark design details, see benchmarking.

Quick Start

  1. Clone grpc-rs
$ git clone https://github.com/tikv/grpc-rs.git
  1. Clone grpc
$ git clone https://github.com/pingcap/grpc.git
  1. Build benchmark
$ cd grpc-rs
$ cargo build -p benchmark --release
  1. Run benchmark
$ cd ../grpc
$ python3 tools/run_tests/run_performance_tests.py -l rust

Checkout python3 tools/run_tests/run_performance_tests.py --help to see custom options.

Flame Graph

To generate flame graph, please download FrameGraph release package and extract them in grpc directory. Please make sure the name of extracted directory is FlameGraph. Then run following command:

# python3 tools/run_tests/run_performance_tests.py -l rust --perf_args="record -F 99 -g"