Measure iOS CPU/GPU percentage (#39439)
For https://github.com/flutter/flutter/issues/33899 Test added: - simple_animation_perf_ios Test modified: - backdrop_filter_perf_ios__timeline_summary We'll add the CPU/GPU measurement to more iOS tests once it's proven to be non-flaky.
This commit is contained in:
@@ -10,5 +10,5 @@ import 'package:flutter_devicelab/framework/framework.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
deviceOperatingSystem = DeviceOperatingSystem.ios;
|
||||
await task(createBackdropFilterPerfTest());
|
||||
await task(createBackdropFilterPerfTest(needsMeasureCpuGpu: true));
|
||||
}
|
||||
|
||||
13
dev/devicelab/bin/tasks/simple_animation_perf_ios.dart
Normal file
13
dev/devicelab/bin/tasks/simple_animation_perf_ios.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2019 The Chromium 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/adb.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/tasks/perf_tests.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
deviceOperatingSystem = DeviceOperatingSystem.ios;
|
||||
await task(createSimpleAnimationPerfTest(needsMeasureCpuGpu: true));
|
||||
}
|
||||
Reference in New Issue
Block a user