Some benchmarks to measure different streaming binary transports.
Include //src/diagnostics/transit_bench
in your current universe packages (fx set
/fx args
). Make sure that you are building with optimizations (fx set --release
or is_debug = false
in fx args
).
Generate a Cargo.toml for your editor to use:
fx build //src/diagnostics/transit_bench:bin_cargo fx gen-cargo //src/diagnostics/transit_bench:bin
fx rustdoc src/diagnostics/transit_bench:bin --open
fx run-test transit_bench
fx syslog --suppress bogus
Minimum before submitting a CL: fx rustfmt //src/diagnostics/transit_bench:bin
.
Prefer fx format-code
if possible.