#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) { … }
}
class V4StorePerftest : public testing::Test { … };
TEST_F(V4StorePerftest, StressTest) { … }
}