Skip to content

A simple, fast, portable, and reliable alternative to time shell command for all platforms.

License

Notifications You must be signed in to change notification settings

fivemoreminix/tinytime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The goal of tinytime is to offer a variety of solutions for timing. All of the solutions are very simple and ready for modification or adjustment. All solutions focus on timing precisely. Some solutions may be more accurate than others.

Usage

You can use the Python (2 or 3) solutions for quick use, or compile the Rust solution. All of the solutions have the same options and syntax.

USAGE: tinytime <COMMAND>

PYTHON TINYTIME EXAMPLE:
python tinytime3.py ./examples/fib.py

OR COMPILED:
tinytime python ./examples/fib.py

Tip: Insert the compiled executable into some directory in your PATH variable so you can call it from anywhere.

tinytime2.py is for Python 2.3+, while tinytime3.py is for Python 3.4+.

Whitespace

Tiny time generally ignores whitespace in the command. For example, tinytime python ./examples/fib.py makes the COMMAND option "python ./examples/fib.py", instead of " python ./examples/fib.py". In order to keep the whitespace, just wrap it in double quotes: tinytime " python ./examples/fib.py" makes the COMMAND option " python ./examples/fib.py".

About

A simple, fast, portable, and reliable alternative to time shell command for all platforms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published