added perf tests for cv::reduce