chromium/components/safe_browsing/core/browser/db/v4_store_perftest.cc

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

#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/numerics/checked_math.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_simple_task_runner.h"
#include "base/timer/elapsed_timer.h"
#include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h"
#include "components/safe_browsing/core/browser/db/v4_test_util.h"
#include "crypto/sha2.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"

namespace safe_browsing {

namespace {

constexpr char kMetricPrefixV4Store[] =;
constexpr char kMetricGetMatchingHashPrefixMs[] =;

perf_test::PerfResultReporter SetUpV4StoreReporter(const std::string& story) {}

}  // namespace

class V4StorePerftest : public testing::Test {};

TEST_F(V4StorePerftest, StressTest) {}

}  // namespace safe_browsing