chromium/components/attribution_reporting/privacy_math_perftest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/attribution_reporting/privacy_math.h"

#include <stdint.h>

#include <limits>
#include <optional>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

#include "base/timer/lap_timer.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/attribution_scopes_data.h"
#include "components/attribution_reporting/attribution_scopes_set.h"
#include "components/attribution_reporting/max_event_level_reports.h"
#include "components/attribution_reporting/source_type.mojom.h"
#include "components/attribution_reporting/test_utils.h"
#include "components/attribution_reporting/trigger_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "third_party/google_benchmark/src/include/benchmark/benchmark.h"

namespace attribution_reporting {
namespace {

struct TriggerConfig {};

struct ScopesConfig {};

ScopedCollapsibleTriggerConfig;

std::string StoryName(const ScopedCollapsibleTriggerConfig& p) {}

constexpr TriggerConfig kTriggerConfigs[] =;

constexpr std::optional<ScopesConfig> kScopeConfigs[] =;

class PrivacyMathPerfTest
    : public testing::Test,
      public testing::WithParamInterface<ScopedCollapsibleTriggerConfig> {};

TEST_P(PrivacyMathPerfTest, NumStates) {}

TEST_P(PrivacyMathPerfTest, RandomizedResponse) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace
}  // namespace attribution_reporting