From fe7224bb87fc1a1f996299425ea2f791da26584e Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 26 May 2011 02:00:17 +0200 Subject: [PATCH] Removed rolling hash benchmark in debug --- base/base_tests/rolling_hash_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/base_tests/rolling_hash_test.cpp b/base/base_tests/rolling_hash_test.cpp index 575b34228b..b2c733423f 100644 --- a/base/base_tests/rolling_hash_test.cpp +++ b/base/base_tests/rolling_hash_test.cpp @@ -98,6 +98,7 @@ UNIT_TEST(RollingHasher64) TestRollingHasher(); } +#ifndef DEBUG BENCHMARK_TEST(RollingHasher32) { RollingHasher32 hash; @@ -119,6 +120,6 @@ BENCHMARK_TEST(RollingHasher64) static_cast('r') + benchmark.Iteration())); } } - +#endif #include "../../base/stop_mem_debug.hpp"