Skip to content
Perf timer for dart and flutter
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Use the ternary operator for time unit checks Jan 30, 2019
.gitignore 🐣 initial commit Jan 16, 2019
CHANGELOG.md 🐣 initial commit Jan 16, 2019
LICENSE 🐣 initial commit Jan 16, 2019
README.md 😿 fixes Jan 16, 2019
pubspec.lock 🐣 initial commit Jan 16, 2019
pubspec.yaml

README.md

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

You can’t perform that action at this time.