* Revert "Mark last failing test after gradle update as flaky. (#91423)" This reverts commit46a52d03bd. * Revert "fix android template for Gradle 7 (#91411)" This reverts commit51d06d537f. * Revert "Add explicit version for mac and windows openjdk. (#91408)" This reverts commitbf429f2771. * Revert "Update the openjdk version used by linux android tests. (#91405)" This reverts commit2144ab8b45. * Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642)" This reverts commitb6459f9b63.
microbenchmarks
To run these benchmarks on a device, first run `flutter logs' in one window to see the device logs, then, in a different window, run any of these:
flutter run --release lib/gestures/velocity_tracker_bench.dart
flutter run --release lib/gestures/gesture_detector_bench.dart
flutter run --release lib/stocks/animation_bench.dart
flutter run --release lib/stocks/build_bench.dart
flutter run --release lib/stocks/layout_bench.dart
The results should be in the device logs.
Avoid changing names of the benchmarks
Each microbenchmark is identified by a name, for example, "catmullrom_transform_iteration". Changing the name of an existing microbenchmarks will effectively remove the old benchmark and create a new one, losing the historical data associated with the old benchmark in the process.