tree: 8b0ec987e5db0ca647a024377b9ea7d9e15bd330 [path history] [tgz]
  1. .github/
  2. lib/
  3. test/
  4. .gitignore
  5. analysis_options.yaml
  6. CHANGELOG.md
  7. LICENSE
  8. pubspec.yaml
  9. 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}');

Building

Use the following command to re-generate lib/src/timing.g.dart file:

pub run build_runner build