added --serial and --parallel options to benchmark