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.
HowFastIs [--help/-h] [--nobanner/-n] [--file/-f <filename>] [additional arguments]
-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.
This tool is part of the 8gudbitsKit project. To download the executable for Windows, visit the 8gudbitsKit repository.
- 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.