Add textfield perf test to devicelab (#51788)

This commit is contained in:
Flutter GitHub Bot
2020-03-04 13:16:03 -08:00
committed by GitHub
parent 32716b9e9b
commit e22ceb0c7a
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// 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 'dart:async';
import 'package:flutter_devicelab/tasks/perf_tests.dart';
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createTextfieldPerfTest());
}

View File

@@ -185,6 +185,12 @@ tasks:
stage: devicelab
required_agent_capabilities: ["mac/android"]
textfield_perf__timeline_summary:
description: >
Measures the runtime performance of textfield on Android.
stage: devicelab
required_agent_capabilities: ["mac/android"]
flavors_test:
description: >
Checks that flavored builds work on Android.