mirror of
https://github.com/flutter/flutter.git
synced 2026-02-11 13:22:46 +08:00
And rootConstraints to configuration. This type and its variable have nothing to do with Constraints. Fixes https://github.com/flutter/flutter/issues/829
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:
-
Build
sky_shellfor Linux Release using the instructions in the Engine repository. -
Run
pub getin thepackages/unitdirectory. -
Run the benchmarks by running the following command from the root of the flutter repository (replacing
stocks/layout_bench.dartwith 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