From c73b35deb81c70a6180dc839866095dc23448514 Mon Sep 17 00:00:00 2001 From: liyuqian Date: Tue, 2 Jul 2019 17:10:52 -0700 Subject: [PATCH] Update macrobenchmarks README and app name (#35477) --- dev/benchmarks/macrobenchmarks/README.md | 24 +++++++++++++++++++ .../macrobenchmarks/android/app/build.gradle | 2 +- .../android/app/src/main/AndroidManifest.xml | 4 ++-- .../MainActivity.java | 2 +- .../ios/Runner.xcodeproj/project.pbxproj | 6 ++--- .../macrobenchmarks/ios/Runner/Info.plist | 2 +- 6 files changed, 32 insertions(+), 8 deletions(-) rename dev/benchmarks/macrobenchmarks/android/app/src/main/java/com/example/{cullopacity => macrobenchmarks}/MainActivity.java (90%) diff --git a/dev/benchmarks/macrobenchmarks/README.md b/dev/benchmarks/macrobenchmarks/README.md index b51e5f07df..529a45b36d 100644 --- a/dev/benchmarks/macrobenchmarks/README.md +++ b/dev/benchmarks/macrobenchmarks/README.md @@ -13,3 +13,27 @@ flutter drive --profile test_driver/cull_opacity_perf.dart Results should be in the file `build/cull_opacity_perf.timeline_summary.json`. More detailed logs should be in `build/cull_opacity_perf.timeline.json`. + +## Cubic bezier benchmark + +To run the cubic bezier benchmark on a device: + +``` +flutter drive --profile test_driver/cubic_bezier_perf.dart +``` + +Results should be in the file `build/cubic_bezier_perf.timeline_summary.json`. + +More detailed logs should be in `build/cubic_bezier_perf.timeline.json`. + +## Backdrop filter benchmark + +To run the backdrop filter benchmark on a device: + +``` +flutter drive --profile test_driver/backdrop_filter_perf.dart +``` + +Results should be in the file `build/backdrop_filter_perf.timeline_summary.json`. + +More detailed logs should be in `build/backdrop_filter_perf.timeline.json`. diff --git a/dev/benchmarks/macrobenchmarks/android/app/build.gradle b/dev/benchmarks/macrobenchmarks/android/app/build.gradle index f7ee90a86a..4f7396e11d 100644 --- a/dev/benchmarks/macrobenchmarks/android/app/build.gradle +++ b/dev/benchmarks/macrobenchmarks/android/app/build.gradle @@ -32,7 +32,7 @@ android { } defaultConfig { - applicationId "com.example.cullopacity" + applicationId "com.example.macrobenchmarks" minSdkVersion 16 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() diff --git a/dev/benchmarks/macrobenchmarks/android/app/src/main/AndroidManifest.xml b/dev/benchmarks/macrobenchmarks/android/app/src/main/AndroidManifest.xml index d061f16afd..7a65065d3c 100644 --- a/dev/benchmarks/macrobenchmarks/android/app/src/main/AndroidManifest.xml +++ b/dev/benchmarks/macrobenchmarks/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.example.macrobenchmarks"> CFBundleInfoDictionaryVersion 6.0 CFBundleName - cull_opacity + macrobenchmarks CFBundlePackageType APPL CFBundleShortVersionString