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

Side by Side Diff: chrome/test/perf/url_parse_perftest.cc

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/perftimer.h" 5 #include "base/perftimer.h"
6 #include "googleurl/src/gurl.h" 6 #include "googleurl/src/gurl.h"
7 #include "googleurl/src/url_canon.h" 7 #include "googleurl/src/url_canon.h"
8 #include "googleurl/src/url_canon_stdstring.h" 8 #include "googleurl/src/url_canon_stdstring.h"
9 #include "googleurl/src/url_parse.h" 9 #include "googleurl/src/url_parse.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 PerfTimeLogger timer_kurl("Typical_KURL_AMillion"); 140 PerfTimeLogger timer_kurl("Typical_KURL_AMillion");
141 for (int i = 0; i < 333333; i++) { // divide by 3 so we get 1M 141 for (int i = 0; i < 333333; i++) { // divide by 3 so we get 1M
142 WebCore::WebKitKURL kurl1(typical_url1); 142 WebCore::WebKitKURL kurl1(typical_url1);
143 WebCore::WebKitKURL kurl2(typical_url2); 143 WebCore::WebKitKURL kurl2(typical_url2);
144 WebCore::WebKitKURL kurl3(typical_url3); 144 WebCore::WebKitKURL kurl3(typical_url3);
145 } 145 }
146 timer_kurl.Done(); 146 timer_kurl.Done();
147 } 147 }
148 148
149 #endif 149 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698