Adding benchmarking capability with command line flag -b.