Changed the config of benchmark function.