timing 1.0.0 icon indicating copy to clipboard operation
timing: ^1.0.0 copied to clipboard

A simple package for tracking the performance of synchronous and asynchronous actions.

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
14
likes
130
pub points
93%
popularity

Publisher

verified publisher icontools.dart.dev

A simple package for tracking the performance of synchronous and asynchronous actions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

json_annotation

More

Packages that depend on timing