Expand description
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.
StructsΒ§
- Benchmark π
- A helper struct for running benchmarks
- Benchmark
Results π - A set of benchmark results for a given
BenchmarkType, including information about averages. - Benchmark
Summary π - A summary of all benchmarks conducted throughout the invocation of
arti-bench. - Client
Timing - Timing information from the benchmarking client.
- Server
Timing - Timing information from the benchmarking server.
- Statistic π
- Some information about a set of benchmark samples collected during multiple runs.
- Stream
Isolation πTracker - Helper type: track a StreamIsolation token over a set of runs.
- Timing
Summary - A summary of benchmarking results, generated from
ClientTiming.
EnumsΒ§
- Benchmark
Type π - The type of benchmark conducted.
ConstantsΒ§
- RECV_
BUF_ πLEN - How much should we be willing to read at a time?
FunctionsΒ§
- client π
- Runs the benchmarking client on the provided socket.
- main π
- random_
payload π - Generate a random payload of bytes of the given size
- run_
timing π - Run the timing routine
- serve_
payload π - Runs the benchmarking TCP server, using the provided TCP listener and set of payloads.