perfetto: fix compile in GCC, debug and logspam in tests
Change-Id: I5b6a31167e16184ac66e760e742e1e7927d5fa5a
diff --git a/src/trace_processor/string_pool_unittest.cc b/src/trace_processor/string_pool_unittest.cc
index 8a828c3..26763ff 100644
--- a/src/trace_processor/string_pool_unittest.cc
+++ b/src/trace_processor/string_pool_unittest.cc
@@ -71,8 +71,8 @@
}
TEST(StringPoolTest, StressTest) {
- // First create a buffer with 128MB of random characters.
- constexpr size_t kBufferSize = 128 * 1024 * 1024;
+ // First create a buffer with 8MB of random characters.
+ constexpr size_t kBufferSize = 8 * 1024 * 1024;
std::minstd_rand0 rnd_engine(0);
std::unique_ptr<char[]> buffer(new char[kBufferSize]);
for (size_t i = 0; i < kBufferSize; i++)