tree: 3d682c98fd8b0b8f2754d141a51e4d351633b49f [path history] [tgz]
  1. android/
  2. assets/
  3. ios/
  4. lib/
  5. macos/
  6. test_driver/
  7. test_memory/
  8. web/
  9. pubspec.yaml
  10. README.md
dev/benchmarks/macrobenchmarks/README.md

Macrobenchmarks

Performance benchmarks using flutter drive.

Cull opacity benchmark

To run the cull opacity benchmark on a device:

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.

Post Backdrop filter benchmark

To run the post-backdrop filter benchmark on a device:

flutter drive --profile test_driver/post_backdrop_filter_perf.dart

Results should be in the file build/post_backdrop_filter_perf.timeline_summary.json.

More detailed logs should be in build/post_backdrop_filter_perf.timeline.json.