Commit cce7f1a6 authored by Caleb Raitto's avatar Caleb Raitto Committed by Commit Bot

Start benchmark for comparing privacy budget study implementations.

Add the initial benchmark, which measures double privacy budget UKM
serialization performance.

Bug: 973801
Change-Id: I90403af701246cf8575681c0789b2344622b1261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2075477
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745631}
parent 62f822d7
<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
description: "This benchmark fetches window.devicePixelRatio, which is " +
"used to benchmark double privacy budget UKM serialization " +
"performance.",
run: function() {
return devicePixelRatio;
}});
</script>
</body>
</html>
caraitto@chromium.org
asanka@chromium.org
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from benchmarks import blink_perf
from telemetry import benchmark
# pylint: disable=protected-access
@benchmark.Info(
emails=['caraitto@chromium.org', 'asanka@chromium.org'],
documentation_url='https://bit.ly/blink-perf-benchmarks')
class PrivacyBudgetPerf(blink_perf._BlinkPerfBenchmark):
SUBDIR = 'privacy_budget'
TAGS = blink_perf._BlinkPerfBenchmark.TAGS + ['all']
@classmethod
def Name(cls):
return 'blink_perf.privacy_budget'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment