Bug 1230265 - Add VP9 benchmark telemetry; r=bsmedberg

MozReview-Commit-ID: 6ofvNqvkg0U
This commit is contained in:
Anthony Jones 2016-03-03 16:23:19 +13:00 committed by Jean-Yves Avenard
parent d00c420b2c
commit c8300ee73e
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include "BufferMediaResource.h"
#include "WebMSample.h"
#include "mozilla/Preferences.h"
#include "mozilla/Telemetry.h"
namespace mozilla {
@ -61,6 +62,7 @@ Benchmark::SaveResult(uint32_t aDecodeFps)
MOZ_ASSERT(NS_IsMainThread());
Preferences::SetUint(sBenchmarkFpsPref, aDecodeFps);
Telemetry::Accumulate(Telemetry::ID::VIDEO_VP9_BENCHMARK_FPS, aDecodeFps);
}
void

View File

@ -8736,6 +8736,16 @@
"description": "OpenH264 GMP files missing (0=none, or sum of: 1=library, 2=info)",
"releaseChannelCollection": "opt-out"
},
"VIDEO_VP9_BENCHMARK_FPS": {
"alert_emails": ["ajones@mozilla.com"],
"expires_in_version": "50",
"bug_numbers": [1230265],
"kind": "linear",
"high": 1000,
"n_buckets": 100,
"description": "720p VP9 decode benchmark measurement in frames per second",
"releaseChannelCollection": "opt-out"
},
"MEDIA_CODEC_USED": {
"alert_emails": ["cpearce@mozilla.com"],
"expires_in_version": "never",