blob: 1f213387ab97394a3c5700b798e0bb078fdb1566 [file] [log] [blame]
// 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() async {
await task(() async {
return runWebBenchmark((
useWasm: false,
forceSingleThreadedSkwasm: false,
useDdc: false,
withHotReload: false,
buildMode: buildMode,
));
});
}