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

Side by Side Diff: net/base/mime_sniffer_perftest.cc

Issue 2901103002: Fix closing namespace comments in //net. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
« no previous file with comments | « net/base/cache_type.h ('k') | net/base/proxy_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "net/base/mime_sniffer.h" 5 #include "net/base/mime_sniffer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bits.h" 9 #include "base/bits.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 plaintext += plaintext; 92 plaintext += plaintext;
93 DCHECK_EQ(expected_size, plaintext.size()); 93 DCHECK_EQ(expected_size, plaintext.size());
94 RunLooksLikeBinary(plaintext, kWarmupIterations); 94 RunLooksLikeBinary(plaintext, kWarmupIterations);
95 base::ElapsedTimer elapsed_timer; 95 base::ElapsedTimer elapsed_timer;
96 RunLooksLikeBinary(plaintext, kMeasuredIterations); 96 RunLooksLikeBinary(plaintext, kMeasuredIterations);
97 LOG(INFO) << (elapsed_timer.Elapsed().InMicroseconds() * 1000 * 1024 / 97 LOG(INFO) << (elapsed_timer.Elapsed().InMicroseconds() * 1000 * 1024 /
98 (static_cast<int64_t>(plaintext.size()) * kMeasuredIterations)) 98 (static_cast<int64_t>(plaintext.size()) * kMeasuredIterations))
99 << "ns per KB"; 99 << "ns per KB";
100 } 100 }
101 101
102 } // namespace
102 } // namespace net 103 } // namespace net
103 } // namespace
OLDNEW
« no previous file with comments | « net/base/cache_type.h ('k') | net/base/proxy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698