Reland "Measure iOS CPU/GPU percentage (#41234)" (#41426)

This reverts commit f1e7fe8142.

This fix is in https://github.com/flutter/packages/pull/39
This commit is contained in:
liyuqian
2019-09-28 14:24:46 -07:00
committed by GitHub
parent 0223565fd5
commit 67b5bdf99b
11 changed files with 143 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
// 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_driver/driver_extension.dart';
import 'package:macrobenchmarks/main.dart' as app;
void main() {
enableFlutterDriverExtension();
app.main();
}

View File

@@ -0,0 +1,14 @@
// 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:macrobenchmarks/common.dart';
import 'util.dart';
void main() {
macroPerfTest(
'simple_animation_perf',
kSimpleAnimationRouteName,
);
}