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 ↗