timing 1.0.2 copy "timing: ^1.0.2" to clipboard
timing: ^1.0.2 copied to clipboard

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

Build Status pub package package publisher

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

Usage #

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:

dart pub run build_runner build

Publishing automation #

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

24
likes
150
points
3.1M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

json_annotation

More

Packages that depend on timing