Current benchmarking code is a bash script hacked together. It can improved to take parameters, reduce code duplication in calling the same code