Search packages, repositories and app categories

GitHub repositorymelodysdreamj/code_timer

code_timer

melodysdreamj/code_timer open-source repository details.

code_timer project cover
Stars
1
Forks
0
Last push (UTC)
May 9, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

installation

dart pub add code_timer

usage

  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

usage2

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
june lee GitHub avatar
GitHub author

june lee ↗

A developer in Songdo who loves cafes and good restaurants.

LanguagesDart

Packages published by this repository

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗