From b5cd22d5696410436e32f4a3f692a04462620b9f Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Tue, 9 Jun 2020 00:04:07 -0700 Subject: [PATCH] Adding instructions to run the benchmarks - Note that these tests don't test RPC, only data format --- benchmark/bin/README.md | 13 +++++++++++++ benchmark/bin/requirements.txt | 1 + 2 files changed, 14 insertions(+) create mode 100644 benchmark/bin/README.md create mode 100644 benchmark/bin/requirements.txt diff --git a/benchmark/bin/README.md b/benchmark/bin/README.md new file mode 100644 index 0000000..6d8c6b9 --- /dev/null +++ b/benchmark/bin/README.md @@ -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 +``` diff --git a/benchmark/bin/requirements.txt b/benchmark/bin/requirements.txt new file mode 100644 index 0000000..b0c79cc --- /dev/null +++ b/benchmark/bin/requirements.txt @@ -0,0 +1 @@ +protobuf