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