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

Unified Diff: tools/perf/benchmarks/webrtc.py

Issue 2463013003: Add a new telemetry benchmark to stress-test WebRTC. (Closed)
Patch Set: Upload webrtc_stresstest_cases to cloud storage. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/measurements/webrtc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/webrtc.py
diff --git a/tools/perf/benchmarks/webrtc.py b/tools/perf/benchmarks/webrtc.py
index 2e902a49f3d9cd0ac05173394ba7be86cb190f32..ed7c010285004f138815983d3ea88416c924d50a 100644
--- a/tools/perf/benchmarks/webrtc.py
+++ b/tools/perf/benchmarks/webrtc.py
@@ -50,6 +50,18 @@ class WebrtcDataChannel(_Webrtc):
return 'webrtc.datachannel'
+class WebrtcStressTest(perf_benchmark.PerfBenchmark):
+ """Measures WebRtc CPU and GPU usage with multiple peer connections."""
+ page_set = page_sets.WebrtcStresstestPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'webrtc.stress'
+
+ def CreatePageTest(self, options):
+ return webrtc.WebRTC(use_webrtc_stats=False)
+
+
# WebrtcRendering must be a PerfBenchmark, and not a _Webrtc, because it is a
# timeline-based.
# Disabled on reference builds because they crash and don't support tab
« no previous file with comments | « no previous file | tools/perf/measurements/webrtc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698