perf_timer 1.0.4

Flutter Android iOS web

Perf timer for dart and flutter

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

0
likes
90
pub points
2%
popularity

Publisher

lesnitsky.dev

Perf timer for dart and flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on perf_timer