lesnitsky / perf_timer

⏱Perf timer for dart and flutter

Home Page:https://pub.dartlang.org/packages/perf_timer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perf Timer

Perf timer for dart and flutter

Works only in dev mode

iTerm Screenshot

Example

import 'package:perf_timer/perf_timer.dart';

void main() {
    PerfTimer.start('computation 1');
    someLongComputation();
    PerfTimer.pause('computation 1');

    PerfTimer.start('computation 2');
    someOtherLongComputation();
    PerfTimer.pause('computation 2');

    print(PerfTimer.report());
    PerfTimer.stop();
}

Author

Andrei Lesnitsky

License

MIT

About

⏱Perf timer for dart and flutter

https://pub.dartlang.org/packages/perf_timer

License:MIT License


Languages

Language:Dart 100.0%