Index: chrome/browser/safe_browsing/prefix_set_unittest.cc |
diff --git a/chrome/browser/safe_browsing/prefix_set_unittest.cc b/chrome/browser/safe_browsing/prefix_set_unittest.cc |
index 7f78a6af975081f161705f7607be6cc938f91bd4..448be08d1a862acef9e71c6c609bbdd082378c7e 100644 |
--- a/chrome/browser/safe_browsing/prefix_set_unittest.cc |
+++ b/chrome/browser/safe_browsing/prefix_set_unittest.cc |
@@ -30,7 +30,7 @@ class PrefixSetTest : public PlatformTest { |
// Generate a set of random prefixes to share between tests. For |
// most tests this generation was a large fraction of the test time. |
static void SetUpTestCase() { |
- for (size_t i = 0; i < 50000; ++i) { |
+ for (size_t i = 0; i < 5000; ++i) { |
Scott Hess - ex-Googler
2013/11/05 03:04:58
In theory, this many values should be able to spre
Paweł Hajdan Jr.
2013/11/05 03:10:06
I'm not sure now - it's definitely about the speed
Scott Hess - ex-Googler
2013/11/05 03:17:24
for (size_t i = 0; i < 500; ++i) {
SBPrefix a[10
Paweł Hajdan Jr.
2013/11/05 22:42:26
I've tried it and it doesn't help in a meaningful
Scott Hess - ex-Googler
2013/11/06 00:47:14
495 _seconds_? Normally the entire PrefixSetTest.
|
const SBPrefix prefix = static_cast<SBPrefix>(base::RandUint64()); |
shared_prefixes_.push_back(prefix); |
} |