blob: 82f0ecb07e62d10d50cfc127d8e9c63b3217f6b1 [file] [log] [blame] [view]
Ian Hicksonb5c6da12016-05-23 15:04:50 -07001# microbenchmarks
2
Ian Hickson92af3332016-09-22 14:26:24 -07003To run these benchmarks on a device, first run `flutter logs' in one
4window to see the device logs, then, in a different window, run any of
5these:
Ian Hicksonb5c6da12016-05-23 15:04:50 -07006
7```
LongCatIsLooongcea055e2020-08-12 13:31:05 -07008flutter run --release lib/gestures/velocity_tracker_bench.dart
Tong Mu03ed06f2019-06-28 00:37:01 -07009flutter run --release lib/gestures/gesture_detector_bench.dart
Ian Hickson411db2d2016-09-09 14:25:34 -070010flutter run --release lib/stocks/animation_bench.dart
11flutter run --release lib/stocks/build_bench.dart
12flutter run --release lib/stocks/layout_bench.dart
Ian Hicksonb5c6da12016-05-23 15:04:50 -070013```
14
15The results should be in the device logs.