tree: 79486a601b253e87dd0b11db660f43422cf1c1af [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. README.md
src/lib/trace/rust/bench/README.md

Benchmarks for Rust Trace Events

The easiest way to run these is to enable local benchmarks in your build:

fx set minimal.x64 --release --with //src/lib/trace/rust/bench --args=local_bench=true
fx build updates
ffx test run 'fuchsia-pkg://fuchsia.com/rust_trace_events_benchmarks#meta/trace_events.cm'

Alternatively, you can test through through the end to end benchmarking framework which will also benchmark with the trace points both enabled and disabled.

fx set terminal.x64 --release --with //src/tests/end_to_end/perf:test
fx test --e2e tracing_microbenchmarks_test

See Also: Running Performance Tests