diff options
author | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-14 08:07:01 +0000 |
---|---|---|
committer | hubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-14 08:07:01 +0000 |
commit | 28597de62b9146aefa8ff303cb2a4a066874a33d (patch) | |
tree | 0c73dab409dcb33468aef6630287dbc29472dc6b /media/cast/cast_testing.gypi | |
parent | 8493bec29f904bf7458669092ebb5845958505af (diff) | |
download | chromium_src-28597de62b9146aefa8ff303cb2a4a066874a33d.zip chromium_src-28597de62b9146aefa8ff303cb2a4a066874a33d.tar.gz chromium_src-28597de62b9146aefa8ff303cb2a4a066874a33d.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.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276603
Review URL: https://codereview.chromium.org/308713005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277195 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', |