Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
c73b35de
Unverified
Commit
c73b35de
authored
Jul 03, 2019
by
liyuqian
Committed by
GitHub
Jul 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update macrobenchmarks README and app name (#35477)
parent
6e705ea6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
8 deletions
+32
-8
README.md
dev/benchmarks/macrobenchmarks/README.md
+24
-0
build.gradle
dev/benchmarks/macrobenchmarks/android/app/build.gradle
+1
-1
AndroidManifest.xml
.../macrobenchmarks/android/app/src/main/AndroidManifest.xml
+2
-2
MainActivity.java
...c/main/java/com/example/macrobenchmarks/MainActivity.java
+1
-1
project.pbxproj
...arks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj
+3
-3
Info.plist
dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist
+1
-1
No files found.
dev/benchmarks/macrobenchmarks/README.md
View file @
c73b35de
...
...
@@ -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`
.
dev/benchmarks/macrobenchmarks/android/app/build.gradle
View file @
c73b35de
...
...
@@ -32,7 +32,7 @@ android {
}
defaultConfig
{
applicationId
"com.example.
cullopacity
"
applicationId
"com.example.
macrobenchmarks
"
minSdkVersion
16
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
...
...
dev/benchmarks/macrobenchmarks/android/app/src/main/AndroidManifest.xml
View file @
c73b35de
<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,
flutter needs it to communicate with the running application
...
...
@@ -14,7 +14,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name=
"io.flutter.app.FlutterApplication"
android:label=
"
cull_opacity
"
android:label=
"
macrobenchmarks
"
android:icon=
"@mipmap/ic_launcher"
>
<activity
android:name=
".MainActivity"
...
...
dev/benchmarks/macrobenchmarks/android/app/src/main/java/com/example/
cullopacity
/MainActivity.java
→
dev/benchmarks/macrobenchmarks/android/app/src/main/java/com/example/
macrobenchmarks
/MainActivity.java
View file @
c73b35de
package
com
.
example
.
cullopacity
;
package
com
.
example
.
macrobenchmarks
;
import
android.os.Bundle
;
import
io.flutter.app.FlutterActivity
;
...
...
dev/benchmarks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj
View file @
c73b35de
...
...
@@ -323,7 +323,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
cullOpacity
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
macrobenchmarks
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -448,7 +448,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
cullOpacity
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
macrobenchmarks
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
@@ -471,7 +471,7 @@
"$(inherited)"
,
"$(PROJECT_DIR)/Flutter"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
cullOpacity
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.example.
macrobenchmarks
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
VERSIONING_SYSTEM
=
"apple-generic"
;
};
...
...
dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist
View file @
c73b35de
...
...
@@ -11,7 +11,7 @@
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
cull_opacity
<
/string
>
<
string
>
macrobenchmarks
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment