Skip to content

luvth/fastbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Fastbench

Fastbench is a simple tool to benchmark the execution time of commands, scripts, or compiled programs. It uses C++ to measure and report the time taken for a given command to run.

Fastbench example

Installation

Step 1: Clone the repository

Clone this repository to your local machine using the following command:

git clone https://github.com/luvth/fastbench

Step 2: Navigate into the project directory

Change into the project directory:

cd fastbench

Step 3: Set up permissions for the setup.sh script

Give execution permissions to the setup.sh script:

chmod +x setup.sh

Step 4: Run the setup

Now you're ready to set up the project. Run the setup.sh script:

./setup.sh

This will complete the setup process.

Usage

Once the setup is done, you can use the program to benchmark any command or script by running the following:

./benchmark "your-command-here"

For example, to benchmark the ls command:

./benchmark "ls -la"

Have fun !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published