pw_rpc: Add the benchmark service
Add the first two RPCs in the pw.rpc.Benchmark service.
Change-Id: Icb45736936620e8e78e2e983808db55f62ac7941
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54664
Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
diff --git a/pw_rpc/docs.rst b/pw_rpc/docs.rst
index b77b013..fe2643d 100644
--- a/pw_rpc/docs.rst
+++ b/pw_rpc/docs.rst
@@ -325,9 +325,21 @@
static pw::rpc::EchoService echo_service;
void Init() {
- server.RegisterService(&echo_service);
+ server.RegisterService(echo_service);
}
+Benchmarking and stress testing
+-------------------------------
+
+.. toctree::
+ :maxdepth: 1
+ :hidden:
+
+ benchmark
+
+``pw_rpc`` provides an RPC service and Python module for stress testing and
+benchmarking a ``pw_rpc`` deployment. See :ref:`module-pw_rpc-benchmark`.
+
Protocol description
====================
Pigweed RPC servers and clients communicate using ``pw_rpc`` packets. These