Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
/ timing Public archive

A Dart package for tracking time spent in child operations

License

Notifications You must be signed in to change notification settings

dart-archive/timing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Dart package for tracking time spent in child operations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages