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

Unified Diff: chrome/browser/media/webrtc_browsertest_perf.cc

Issue 980373002: Adding expand / secondary decode rate to WebRTC regression monitoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_browsertest_perf.cc
diff --git a/chrome/browser/media/webrtc_browsertest_perf.cc b/chrome/browser/media/webrtc_browsertest_perf.cc
index c6747d74035feecdcb90b2ccfe38b8024e5323e6..d87ee56540990a2169a3f8a818f0e3427ce1f544 100644
--- a/chrome/browser/media/webrtc_browsertest_perf.cc
+++ b/chrome/browser/media/webrtc_browsertest_perf.cc
@@ -36,6 +36,19 @@ static bool MaybePrintResultsForAudioReceive(
perf_test::PrintResult(
"audio_misc", modifier, "packets_lost", value, "frames", false);
+ EXPECT_TRUE(pc_dict.GetString(Statistic("googExpandRate", ssrc), &value));
minyue 2015/03/09 11:56:01 googSpeechExpandRate and googSecondaryDecodedRate
phoglund_chromium 2015/03/09 12:05:12 Nope, apparently not. I made this test a while bac
+ perf_test::PrintResult(
+ "audio_rates", modifier, "goog_expand_rate", value, "%", false);
+ EXPECT_TRUE(
+ pc_dict.GetString(Statistic("googSpeechExpandRate", ssrc), &value));
+ perf_test::PrintResult(
+ "audio_rates", modifier, "goog_speech_expand_rate", value, "%", false);
+ EXPECT_TRUE(
+ pc_dict.GetString(Statistic("googSecondaryDecodedRate", ssrc), &value));
+ perf_test::PrintResult(
+ "audio_rates", modifier, "goog_secondary_decoded_rate", value, "%",
+ false);
+
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698