From 796396b2265439a0cb5320c40fc621b05c4d341f Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Fri, 13 Feb 2015 21:48:29 +0000 Subject: [PATCH] Switch step for libyuvTest.TestFullYUV from 3 to 5 for better test performance. BUG=397 TESTED=libyuvTest.TestFullYUV R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/37249004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1281 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- unit_test/color_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit_test/color_test.cc b/unit_test/color_test.cc index 7f9fe7626..66b96a8e5 100644 --- a/unit_test/color_test.cc +++ b/unit_test/color_test.cc @@ -301,7 +301,7 @@ TEST_F(libyuvTest, TestGreyYUV) { TEST_F(libyuvTest, TestFullYUV) { int i; // If using small image, step faster. - int step = benchmark_width_ <= 128 ? 3 : 1; + int step = benchmark_width_ <= 128 ? 5 : 1; int r0, g0, b0, r1, g1, b1; int rn[256] = { 0, }, gn[256] = { 0, }, bn[256] = { 0, }, rx[256] = { 0, },