Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2654)

Unified Diff: chrome/browser/safe_browsing/prefix_set_unittest.cc

Issue 22243002: GTTF: Enable glibcxx debug mode for Debug builds by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/drive/search_metadata.cc ('k') | chrome/browser/ui/browser_iterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « chrome/browser/chromeos/drive/search_metadata.cc ('k') | chrome/browser/ui/browser_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698