Skip to content

Commit 79002c7

Browse files
authored
add tasks for Windows bots in device lab (flutter#8827)
1 parent e0f26b4 commit 79002c7

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
import 'dart:async';
6+
7+
import 'flutter_gallery__build.dart' as flutter_gallery_build;
8+
9+
Future<Null> main() async {
10+
await flutter_gallery_build.main();
11+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
import 'hot_mode_dev_cycle__benchmark.dart' as hot_mode_dev_cycle_benchmark;
6+
7+
void main() {
8+
hot_mode_dev_cycle_benchmark.main();
9+
}

dev/devicelab/manifest.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,18 @@ tasks:
178178
Runs benchmarks from dev/benchmarks/microbenchmarks on iOS.
179179
stage: devicelab_ios
180180
required_agent_capabilities: ["has-ios-device"]
181+
182+
# Tests running on Windows host
183+
184+
flutter_gallery_win__build:
185+
description: >
186+
Collects various performance metrics from AOT builds of the Flutter
187+
Gallery on Windows.
188+
stage: devicelab_win
189+
required_agent_capabilities: ["windows"]
190+
191+
hot_mode_dev_cycle_win__benchmark:
192+
description: >
193+
Measures the performance of Dart VM hot patching feature on Windows.
194+
stage: devicelab_win
195+
required_agent_capabilities: ["windows"]

0 commit comments

Comments
 (0)