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, --helpDisplay this help message.-n, --nobannerSuppress the banner output.-f, --file <file_name>Specify the file to execute.additional argumentsArguments 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.