Skip to content

Commit e5d4575

Browse files
authored
Fix flutter drive instructions in Macrobenchmark README (flutter#135990)
fixes [Macrobenchmark `README.md` is out-of-date](flutter#132703)
1 parent 9ab091f commit e5d4575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/benchmarks/macrobenchmarks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Performance benchmarks use either flutter drive or the web benchmark harness.
99
To run the cull opacity benchmark on a device:
1010

1111
```
12-
flutter drive --profile test_driver/cull_opacity_perf.dart
12+
flutter drive --profile -t test_driver/run_app.dart --driver test_driver/cull_opacity_perf_test.dart
1313
```
1414

1515
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`.
2121
To run the cubic-bezier benchmark on a device:
2222

2323
```
24-
flutter drive --profile test_driver/cubic_bezier_perf.dart
24+
flutter drive --profile -t test_driver/run_app.dart --driver test_driver/cubic_bezier_perf_test.dart
2525
```
2626

2727
Results should be in the file `build/cubic_bezier_perf.timeline_summary.json`.

0 commit comments

Comments
 (0)