Skip to content

8gudbits/HowFastIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HowFastIs

HowFastIs is a command-line tool that measures the execution time of a specified program or script. It runs the file, tracks its runtime, and reports the duration in seconds with millisecond precision.

Usage

HowFastIs [--help/-h] [--nobanner/-n] [--file/-f <filename>] [additional arguments]

Options

  • -h, --help Display this help message.
  • -n, --nobanner Suppress the banner output.
  • -f, --file <file_name> Specify the file to execute.
  • additional arguments Arguments to pass to the executable.

Download exe for Windows

This tool is part of the 8gudbitsKit project. To download the executable for Windows, visit the 8gudbitsKit repository.

For the Tech People

  • Uses std::chrono for precise execution time measurement.
  • Executes the specified file using std::system().
  • Parses CLI arguments dynamically, allowing additional parameters to be passed to the executable.
  • Checks if the file exists before attempting execution.
  • Formats output with std::setprecision() for accurate time reporting.

About

A command-line utility to check how fast a program finishes executing.

Topics

Resources

License

Stars

Watchers

Forks