diff options
author | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 09:32:53 +0000 |
---|---|---|
committer | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-12 09:32:53 +0000 |
commit | 5c15eb603741b2fce2fb544475ce9b97eeeae506 (patch) | |
tree | 4aabf43079d57556b81010310bc5543ef7bfbf51 /media/cast/cast_testing.gypi | |
parent | 00137b7ba9c7060085cff3283c2047b11c9efbe1 (diff) | |
download | chromium_src-5c15eb603741b2fce2fb544475ce9b97eeeae506.zip chromium_src-5c15eb603741b2fce2fb544475ce9b97eeeae506.tar.gz chromium_src-5c15eb603741b2fce2fb544475ce9b97eeeae506.tar.bz2 |
Cast: Synthetic benchmark tool.
This benchmark tests how much latency, packet loss and bandwidth loss we can tolerate.
It runs hundreds of times faster than real-time and results are independent of CPU speed.
So far, it does a series of binary searches to find a spanning tree of the space in which
our algorithms can operate comfortably.
This is a re-upload of cl 293173002, which was reverted because it broke some windows build.
Review URL: https://codereview.chromium.org/308713005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_testing.gypi')
-rw-r--r-- | media/cast/cast_testing.gypi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media/cast/cast_testing.gypi b/media/cast/cast_testing.gypi index ff6bb57..aef0fbd 100644 --- a/media/cast/cast_testing.gypi +++ b/media/cast/cast_testing.gypi @@ -124,6 +124,42 @@ ], # source }, { + 'target_name': 'cast_benchmarks', + 'type': '<(gtest_target_type)', + 'include_dirs': [ + '<(DEPTH)/', + ], + 'dependencies': [ + 'cast_base', + 'cast_receiver', + 'cast_rtcp', + 'cast_sender', + 'cast_test_utility', + 'cast_transport', + '<(DEPTH)/base/base.gyp:test_support_base', + '<(DEPTH)/net/net.gyp:net', + '<(DEPTH)/testing/gtest.gyp:gtest', + ], + 'sources': [ + 'test/cast_benchmarks.cc', + 'test/fake_single_thread_task_runner.cc', + 'test/fake_single_thread_task_runner.h', + 'test/fake_video_encode_accelerator.cc', + 'test/fake_video_encode_accelerator.h', + 'test/utility/test_util.cc', + 'test/utility/test_util.h', + ], # source + 'conditions': [ + ['os_posix==1 and OS!="mac" and OS!="ios" and use_allocator!="none"', + { + 'dependencies': [ + '<(DEPTH)/base/allocator/allocator.gyp:allocator', + ], + } + ], + ], + }, + { # This is a target for the collection of cast development tools. # They are built on bots but not shipped. 'target_name': 'cast_tools', |