timing 0.1.1+2

Dart native js
Flutter Android iOS web

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
1
likes
90
pub points
97%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

inayd@google.com
nbosch@google.com
jakemac@google.com
kevmoo@google.com

License

BSD (LICENSE)

Dependencies

json_annotation

More

Packages that depend on timing