diff options
author | morrita <morrita@chromium.org> | 2014-08-26 16:12:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 23:14:43 +0000 |
commit | 5570dc0c4594f5466ef6846875130336ab02c486 (patch) | |
tree | 2b90b61a24134eb18e4db6ff867511d48cec5858 /mojo/mojo_base.gyp | |
parent | 7eef1763b2118e82ed463e7414066e51690fbe53 (diff) | |
download | chromium_src-5570dc0c4594f5466ef6846875130336ab02c486.zip chromium_src-5570dc0c4594f5466ef6846875130336ab02c486.tar.gz chromium_src-5570dc0c4594f5466ef6846875130336ab02c486.tar.bz2 |
Mojo: add mojo_message_pipe_perftests
This is analogous to ipc_perftests. It measures roundtrip
time with various message sizes.
TEST=message_pipe_perftest.cc
R=viettrungluu@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/501983003
Cr-Commit-Position: refs/heads/master@{#292024}
Diffstat (limited to 'mojo/mojo_base.gyp')
-rw-r--r-- | mojo/mojo_base.gyp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mojo/mojo_base.gyp b/mojo/mojo_base.gyp index 1104ff9..b45d369 100644 --- a/mojo/mojo_base.gyp +++ b/mojo/mojo_base.gyp @@ -22,6 +22,7 @@ 'mojo_js_bindings', 'mojo_js_unittests', 'mojo_message_generator', + 'mojo_message_pipe_perftests', 'mojo_public_application_unittests', 'mojo_public_test_utils', 'mojo_public_bindings_unittests', @@ -207,6 +208,8 @@ 'system/local_data_pipe_unittest.cc', 'system/memory_unittest.cc', 'system/message_pipe_dispatcher_unittest.cc', + 'system/message_pipe_test_utils.h', + 'system/message_pipe_test_utils.cc', 'system/message_pipe_unittest.cc', 'system/multiprocess_message_pipe_unittest.cc', 'system/options_validation_unittest.cc', @@ -225,6 +228,27 @@ ], }, { + # GN version: //mojo/system:mojo_message_pipe_perftests + 'target_name': 'mojo_message_pipe_perftests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + '../base/base.gyp:test_support_base', + '../base/base.gyp:test_support_perf', + '../testing/gtest.gyp:gtest', + 'mojo_common_test_support', + 'mojo_environment_chromium', + 'mojo_system_impl', + ], + 'sources': [ + 'system/message_pipe_perftest.cc', + 'system/message_pipe_test_utils.h', + 'system/message_pipe_test_utils.cc', + 'system/test_utils.cc', + 'system/test_utils.h', + ], + }, + { # GN version: //mojo/common/test:test_support_impl 'target_name': 'mojo_test_support_impl', 'type': 'static_library', |