tree: e6f45bfc05376779689a0899ecd0b9b1bd3c2468 [path history] [tgz]
  1. BUILD.gn
  2. hello_scenic_benchmark.sh
  3. process_scenic_trace.go
  4. README.md
  5. trace_from_host.sh
bin/ui/tests/performance/README.md

Scenic Benchmarks

We collect benchmarks first by tracing a given process, and then by post-processing the trace to output benchmark information.

There is only one benchmark here currently but more will be added.

hello_scenic_benchmark.sh

This script collects a trace of hello_scenic. It takes one parameter, which is where the outputted benchmarks JSON file should be written.

process_scenic_trace.go

A Go program that takes the following parameters in this order:

  • test label
  • trace file name
  • output filename for benchmarks The output is a JSON file with the benchmark output.