Skip to content

Commit e22ceb0

Browse files
Add textfield perf test to devicelab (flutter#51788)
1 parent 32716b9 commit e22ceb0

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright 2014 The Flutter 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 'package:flutter_devicelab/tasks/perf_tests.dart';
8+
import 'package:flutter_devicelab/framework/adb.dart';
9+
import 'package:flutter_devicelab/framework/framework.dart';
10+
11+
Future<void> main() async {
12+
deviceOperatingSystem = DeviceOperatingSystem.android;
13+
await task(createTextfieldPerfTest());
14+
}

dev/devicelab/manifest.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ tasks:
185185
stage: devicelab
186186
required_agent_capabilities: ["mac/android"]
187187

188+
textfield_perf__timeline_summary:
189+
description: >
190+
Measures the runtime performance of textfield on Android.
191+
stage: devicelab
192+
required_agent_capabilities: ["mac/android"]
193+
188194
flavors_test:
189195
description: >
190196
Checks that flavored builds work on Android.

0 commit comments

Comments
 (0)