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

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

Dart CI 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 process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

22
likes
130
pub points
90%
popularity

Publisher

verified publishertools.dart.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

json_annotation

More

Packages that depend on timing