arti/crates/arti-bench
eta 2aeac45f49 arti-bench: add concurrency, write benchmark results out to JSON
We now conduct benchmark tests with multiple concurrent streams (by
default; this is configurable by passing `-p` to `arti-bench`).
Currently, these results just get "flattened" for the purposes of
statistical analysis (as in, results_raw contains the results of each
connection's timing summary, across all benchmark runs). This might be
something we wish to change in future.

The stats summary now also records "best" and "worst" values for each
metric, to give a rough idea of the range of values encountered.

Additionally, we now support writing the benchmark results out to a JSON
file. A future commit may integrate this with CI, so that we have
benchmark results for every commit as a build artefact.

(some documentation was also fixed)

part of arti#292
2022-01-18 13:46:36 +00:00
..
src arti-bench: add concurrency, write benchmark results out to JSON 2022-01-18 13:46:36 +00:00
Cargo.toml arti-bench: add support for multiple samples & averaging 2022-01-14 15:00:11 +00:00
README.md Update README.md files (automated) 2022-01-11 09:37:45 -05:00

README.md

arti-bench

A simple benchmarking utility for Arti.

This works by establishing a simple TCP server, and having Arti connect back to it via a chutney network of Tor nodes, benchmarking the upload and download bandwidth while doing so.

License: MIT OR Apache-2.0