rpc: add a benchmark

  * Add a simple commandline tool to run the benchmarks for measuring
    RPC setup time, latency, and throughput.
    The output is like

    RPC Setup 59.14 ms/rpc
    RPC (echo 1000B)  2.23 ms/rpc (449.25 qps)
    RPC Streaming (echo 1000B)  0.15 ms/rpc
    RPC Streaming Throughput (echo 1MB) 260.37 MB/s

  * Also fixed dial_vc benchmark as we changed to close VIF when empty.

Change-Id: Ie50f7415c1bd5baed6d251e324a30f0c8ce68273
11 files changed
tree: 7f8b191af27564501a83b47d0c65e60dc6fa5fbe
  1. cmd/
  2. envvar/
  3. examples/
  4. internal/
  5. lib/
  6. profiles/
  7. services/
  8. test/
  9. .gitignore
  10. AUTHORS
  11. CONTRIBUTORS
  12. LICENSE
  13. PATENTS
  14. README.md
  15. VERSION
README.md

This is the code repository containing a reference implementation of the Vanadium project API.