tree: 0d5610ac12f3e323a4ab530c91b7f5f8eb1a0daa [path history] [tgz]
  1. vulkan_is_supported/
  2. BUILD.gn
  3. gfx_benchmarks_standalone.sh
  4. process_scenic_trace.go
  5. README.md
  6. run_scenic_benchmark.sh
  7. 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.