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:
liyuqian
2019-09-16 13:14:38 -07:00
committed by GitHub
parent 79107e0fe2
commit af9f424d5d
11 changed files with 142 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
// 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 'dart:ui';
import 'package:flutter/material.dart';

View File

@@ -0,0 +1,12 @@
// 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/material.dart';
class SimpleAnimationPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const Center(child: LinearProgressIndicator());
}
}