tree: 2c06de5f3ce385f1c50957f3816b1e945bfa8acb [path history] [tgz]
  1. lib/
  2. test/
  3. .gitignore
  4. .travis.yml
  5. CHANGELOG.md
  6. LICENSE
  7. pubspec.yaml
  8. README.md
pkgs/timing/README.md

Build Status

Timing is a simple package for tracking performance of both async and sync actions

var tracker = AsyncTimeTracker();
await tracker.track(() async {
  // some async code here
});

// Use results
print('${tracker.duration} ${tracker.innerDuration} ${tracker.slices}');