Unverified Commit c73b35de authored by liyuqian's avatar liyuqian Committed by GitHub

Update macrobenchmarks README and app name (#35477)

parent 6e705ea6
...@@ -13,3 +13,27 @@ flutter drive --profile test_driver/cull_opacity_perf.dart ...@@ -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`. 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`. 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`.
...@@ -32,7 +32,7 @@ android { ...@@ -32,7 +32,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "com.example.cullopacity" applicationId "com.example.macrobenchmarks"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 28 targetSdkVersion 28
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.cullopacity"> package="com.example.macrobenchmarks">
<!-- The INTERNET permission is required for development. Specifically, <!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application flutter needs it to communicate with the running application
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
FlutterApplication and put your custom class here. --> FlutterApplication and put your custom class here. -->
<application <application
android:name="io.flutter.app.FlutterApplication" android:name="io.flutter.app.FlutterApplication"
android:label="cull_opacity" android:label="macrobenchmarks"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
......
package com.example.cullopacity; package com.example.macrobenchmarks;
import android.os.Bundle; import android.os.Bundle;
import io.flutter.app.FlutterActivity; import io.flutter.app.FlutterActivity;
......
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.cullOpacity; PRODUCT_BUNDLE_IDENTIFIER = com.example.macrobenchmarks;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
...@@ -448,7 +448,7 @@ ...@@ -448,7 +448,7 @@
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.cullOpacity; PRODUCT_BUNDLE_IDENTIFIER = com.example.macrobenchmarks;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.cullOpacity; PRODUCT_BUNDLE_IDENTIFIER = com.example.macrobenchmarks;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>cull_opacity</string> <string>macrobenchmarks</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment