for porfiling the benchmark code, so add flag to disable the test code