Adding instructions to run the benchmarks
- Note that these tests don't test RPC, only data format
This commit is contained in:
13
benchmark/bin/README.md
Normal file
13
benchmark/bin/README.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Benchmarks
|
||||||
|
|
||||||
|
You'll need to install the protobuf dependencies if you want to profile against protobufs.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
To run all the benchmarks:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./run_all -l pyproto -l pyproto_cpp
|
||||||
|
```
|
||||||
1
benchmark/bin/requirements.txt
Normal file
1
benchmark/bin/requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
protobuf
|
||||||
Reference in New Issue
Block a user