make sure tests and becnhmarks use correct backend (#72628)

This commit is contained in:
nturgut
2020-12-21 09:55:23 -08:00
committed by GitHub
parent 612ef20955
commit 14206399c3
3 changed files with 6 additions and 2 deletions

View File

@@ -121,10 +121,10 @@ Example:
cd dev/benchmarks/macrobenchmarks
# Runs in profile mode using the HTML renderer
flutter run --profile -d web-server lib/web_benchmarks.dart
flutter run --web-renderer=html --profile -d web-server lib/web_benchmarks.dart
# Runs in profile mode using the CanvasKit renderer
flutter run --dart-define=FLUTTER_WEB_USE_SKIA=true --profile -d web-server lib/web_benchmarks.dart
flutter run --web-renderer=canvaskit --profile -d web-server lib/web_benchmarks.dart
```
You can also run all benchmarks exactly as the devicelab runs them: