Benchmarking program in C (POSIX only)
Go to file
apio 1810a0a89b
fix: Open /dev/null only once and close it at the end
Before this patch, we would open and close /dev/null every
iteration.
2023-05-03 17:05:17 +02:00
.gitignore Ready. Set. Go! 2022-12-25 15:40:09 +01:00
cbench.c fix: Open /dev/null only once and close it at the end 2023-05-03 17:05:17 +02:00
LICENSE Initial commit 2022-12-25 14:39:50 +00:00
Makefile Ready. Set. Go! 2022-12-25 15:40:09 +01:00
README.md Update README.md 2022-12-25 15:43:18 +01:00

cbench

Benchmarking program in C

To build: $ make

To install: # make install

To run:

$ cbench [number of iterations] [command]

The number of iterations is optional, defaults to 20. cbench will run the provided command iterations times and present you with some statistics.