chromium/base/hash/hash_perftest.cc

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

#include "base/hash/hash.h"

#include <stddef.h>
#include <stdint.h>

#include <string>
#include <vector>

#include "base/containers/span.h"
#include "base/hash/sha1.h"
#include "base/rand_util.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"

namespace base {
namespace {

void Sha1Hash(base::span<const uint8_t> data) {}

void FastHash(base::span<const uint8_t> data) {}

void RunTest(const char* hash_name,
             void (*hash)(base::span<const uint8_t>),
             const size_t len) {}

}  // namespace

TEST(SHA1PerfTest, Speed) {}

TEST(HashPerfTest, Speed) {}

}  // namespace base