From e5d45753f7a0bf14aafd7869f857a3e201d89f3c Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Mon, 9 Oct 2023 13:57:11 +0300 Subject: [PATCH] Fix `flutter drive` instructions in `Macrobenchmark` README (#135990) fixes [Macrobenchmark `README.md` is out-of-date](https://github.com/flutter/flutter/issues/132703) --- dev/benchmarks/macrobenchmarks/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/benchmarks/macrobenchmarks/README.md b/dev/benchmarks/macrobenchmarks/README.md index 6b3558b962..67dc66a825 100644 --- a/dev/benchmarks/macrobenchmarks/README.md +++ b/dev/benchmarks/macrobenchmarks/README.md @@ -9,7 +9,7 @@ Performance benchmarks use either flutter drive or the web benchmark harness. To run the cull opacity benchmark on a device: ``` -flutter drive --profile test_driver/cull_opacity_perf.dart +flutter drive --profile -t test_driver/run_app.dart --driver test_driver/cull_opacity_perf_test.dart ``` Results should be in the file `build/cull_opacity_perf.timeline_summary.json`. @@ -21,7 +21,7 @@ More detailed logs should be in `build/cull_opacity_perf.timeline.json`. To run the cubic-bezier benchmark on a device: ``` -flutter drive --profile test_driver/cubic_bezier_perf.dart +flutter drive --profile -t test_driver/run_app.dart --driver test_driver/cubic_bezier_perf_test.dart ``` Results should be in the file `build/cubic_bezier_perf.timeline_summary.json`.