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

Side by Side Diff: mojo/public/cpp/bindings/tests/bindings_perftest.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 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
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 <stddef.h> 5 #include <stddef.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/threading/thread_task_runner_handle.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
13 #include "mojo/public/cpp/bindings/interface_endpoint_client.h" 14 #include "mojo/public/cpp/bindings/interface_endpoint_client.h"
14 #include "mojo/public/cpp/bindings/lib/message_builder.h" 15 #include "mojo/public/cpp/bindings/lib/message_builder.h"
15 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" 16 #include "mojo/public/cpp/bindings/lib/multiplex_router.h"
16 #include "mojo/public/cpp/bindings/message.h" 17 #include "mojo/public/cpp/bindings/message.h"
17 #include "mojo/public/cpp/test_support/test_support.h" 18 #include "mojo/public/cpp/test_support/test_support.h"
18 #include "mojo/public/cpp/test_support/test_utils.h" 19 #include "mojo/public/cpp/test_support/test_utils.h"
19 #include "mojo/public/interfaces/bindings/tests/ping_service.mojom.h" 20 #include "mojo/public/interfaces/bindings/tests/ping_service.mojom.h"
20 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 if (i == 1) { 275 if (i == 1) {
275 test::LogPerfResult("MultiplexRouterDispatchCost", nullptr, 276 test::LogPerfResult("MultiplexRouterDispatchCost", nullptr,
276 kIterations[i] / duration.InSecondsF(), 277 kIterations[i] / duration.InSecondsF(),
277 "times/second"); 278 "times/second");
278 } 279 }
279 } 280 }
280 } 281 }
281 282
282 } // namespace 283 } // namespace
283 } // namespace mojo 284 } // namespace mojo
OLDNEW
« no previous file with comments | « media/remoting/remote_renderer_impl_unittest.cc ('k') | net/http/http_network_transaction_ssl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698