mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Bump almost all tests to AGP 8.1 and Gradle 8.3 Flutter gallery is excluded, because it uses discontinued plugins that in turn use old Gradle versions, and that prevents upgrading. Will take some extra work to figure out what to do there. Should bump templates next Entire PR generated with the lockfile generation script, except for: 1. changes within `dev/integration_tests/gradle_deprecated_settings/android/`, which must be done manually (and exclusion of the gallery for reason mentioned above). 2. Changes to many `AndroidManifest.xml` files to remove the `package` attribute and instead set that same value in the `build.gradle`, in the `namespace` attribute of the `android` closure (corresponds to an AGP behavior change, see https://d.android.com/r/tools/upgrade-assistant/set-namespace). 3. Removes the use of the `battery` plugin in `android_embedding_v2_smoke_test` because the plugin is discontinued, unused, and blocks upgrading the AGP version for that app because the discontinued plugin itself uses a very old AGP version. |
||
---|---|---|
.. | ||
android | ||
ios | ||
lib | ||
macos | ||
test | ||
test_driver | ||
test_memory | ||
windows | ||
pubspec.yaml | ||
README.md |
complex_layout
Scrolling benchmark
To run the scrolling benchmark on a device:
flutter drive --profile test_driver/scroll_perf.dart
Results should be in the file build/complex_layout_scroll_perf.timeline_summary.json
.
More detailed logs should be in build/complex_layout_scroll_perf.timeline.json
.
Startup benchmark
To measure startup time on a device:
flutter run --profile --trace-startup
The results should be in the logs.
Additional results should be in the file build/start_up_info.json
.