blob: 360e909c45489168f63b940e6c4e37f809bf8426 [file]
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/web_benchmarks.dart';
const String buildMode = String.fromEnvironment('buildMode', defaultValue: 'profile');
/// Runs all Web benchmarks using the CanvasKit rendering backend.
Future<void> main(List<String> args) async {
await task(() async {
return runWebBenchmarkFromArgs((
useWasm: false,
forceSingleThreadedSkwasm: false,
useDdc: false,
withHotReload: false,
buildMode: buildMode,
), args);
});
}