tree: a2ac7521fd469806ab43fa413207cab0e4a1d6fd [path history] [tgz]
  1. gestures/
  2. stocks/
  3. README.md
packages/unit/benchmark/README.md

Benchmarks

This directory (and its sub-directories) contain benchmarks for Flutter. The reporting format for benchmarks is not standardized yet, so benchmarks here are typically run by hand. To run a benchmark:

  1. Build sky_shell for Linux Release using the instructions in the Engine repository.

  2. Run pub get in the packages/unit directory.

  3. Run the benchmarks by running the following command from the root of the flutter repository (replacing stocks/layout_bench.dart with the path to whichever benchmark you want to run):

/path/to/engine/src/out/Release/sky_shell packages/unit/benchmark/stocks/layout_bench.dart --package-root=packages/unit/packages