Unverified Commit 1f8501f0 authored by Yegor's avatar Yegor Committed by GitHub

web benchmark choose renderer explicitly (#73582)

parent 25dd8684
......@@ -29,12 +29,7 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
await evalFlutter('build', options: <String>[
'web',
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=false',
if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false',
if (useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=true',
'--web-renderer=${useCanvasKit ? 'canvaskit' : 'html'}',
'--profile',
'-t',
'lib/web_benchmarks.dart',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment