v1.0.4
code_timer
Dart 和 Flutter 的代码执行计时器
6喜欢 50近 30 天下载125Pub 分数
AndroidiOSWebmacOSWindowsLinux
melodysdreamj/code_timer open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
dart pub add code_timer
CodeTimer.start();
// add your code here
await Future.delayed(const Duration(seconds: 1));
CodeTimer.stop();
you will see console like this
Execution time: 1004 ms
CodeTimer.start();
// add your code here
await Future.delayed(const Duration(seconds: 1));
CodeTimer.record(); // optional
// add your code here
await Future.delayed(const Duration(seconds: 1));
CodeTimer.stop();
you will see console like this
Record time: 1004 ms
Execution time: 2007 ms
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗