mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

We're adding macrobenchmark support to DDC (AMD modules and our new hot-reload-capable module system) to be aware of any current/future performance regressions. I'm not terribly aware of the metrics collection pipeline; please let me know if we need to do any more work to see these tests run/report numbers to the proper dashboards.
19 lines
535 B
Dart
19 lines
535 B
Dart
// 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';
|
|
|
|
/// Runs all Web benchmarks using DDC.
|
|
Future<void> main() async {
|
|
await task(() async {
|
|
return runWebBenchmark((
|
|
useWasm: false,
|
|
forceSingleThreadedSkwasm: false,
|
|
useDdc: true,
|
|
withHotReload: false,
|
|
));
|
|
});
|
|
}
|