|
proxygen
|
#include <folly/hash/Hash.h>#include <stdint.h>#include <deque>#include <random>#include <string>#include <vector>#include <glog/logging.h>#include <folly/Benchmark.h>#include <folly/Format.h>#include <folly/Preprocessor.h>#include <folly/portability/GFlags.h>Go to the source code of this file.
Classes | |
| struct | detail::SpookyHashV2 |
| struct | detail::FNV64 |
Namespaces | |
| detail | |
Macros | |
| #define | BENCHMARK_HASH(HASHER) detail::addHashBenchmark<detail::HASHER>(FB_STRINGIZE(HASHER)); |
Functions | |
| std::vector< uint8_t > | detail::randomBytes (size_t n) |
| template<class Hasher > | |
| void | detail::bmHasher (Hasher hasher, size_t k, size_t iters) |
| template<class Hasher > | |
| void | detail::addHashBenchmark (const std::string &name) |
| int | main (int argc, char **argv) |
Variables | |
| std::vector< uint8_t > | detail::benchData = randomBytes(1 << 20) |
| #define BENCHMARK_HASH | ( | HASHER | ) | detail::addHashBenchmark<detail::HASHER>(FB_STRINGIZE(HASHER)); |
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 87 of file HashBenchmark.cpp.
References BENCHMARK_HASH, k, folly::runBenchmarks(), s, and folly::detail::distributed_mutex::time().