tree: a15a92453aaa9fd748b726aa38f0cb0ac91975b4 [path history] [tgz]
  1. bin/
  2. lib/
  3. test/
  4. analysis_options.yaml
  5. CHANGELOG.md
  6. cipd.yaml
  7. LICENSE
  8. pubspec.yaml
  9. README.md
packages/gauge/README.md

Tools for gauging/measuring some performance metrics.

Currently there‘s only one tool to measure iOS CPU/GPU usages for Flutter’s CI tests. It‘s only tested on Xcode 10 and it’s known that Xcode 11 may not be compatible.

Install

First install Xcode 10.3 (https://developer.apple.com/download/more/), dart, and git. Make sure that pub, git, and instruments are on your path.

Then run:

pub global activate gauge

Run

Connect an iPhone, run a Flutter app on it, and

pub global run gauge ioscpugpu new

Sample output:

gpu: 12.4%, cpu: 22.525%

For more information, try

pub global run gauge help
pub global run gauge help ioscpugpu
pub global run gauge help ioscpugpu new
pub global run gauge help ioscpugpu parse