proxygen
|
Classes | |
struct | FNV64 |
struct | SpookyHashV2 |
Functions | |
std::vector< uint8_t > | randomBytes (size_t n) |
template<class Hasher > | |
void | bmHasher (Hasher hasher, size_t k, size_t iters) |
template<class Hasher > | |
void | addHashBenchmark (const std::string &name) |
template<typename T > | |
T * | get_pointer (const unique_ptr< T > &ptr) |
template<typename T > | |
T * | get_pointer (T *ptr) |
Variables | |
std::vector< uint8_t > | benchData = randomBytes(1 << 20) |
void detail::addHashBenchmark | ( | const std::string & | name | ) |
Definition at line 56 of file HashBenchmark.cpp.
References folly::addBenchmark(), bmHasher(), i, k, and folly::sformat().
void detail::bmHasher | ( | Hasher | hasher, |
size_t | k, | ||
size_t | iters | ||
) |
Definition at line 45 of file HashBenchmark.cpp.
References folly::doNotOptimizeAway(), i, and k.
Referenced by addHashBenchmark().
Definition at line 29 of file GenericFilterTest.cpp.
Referenced by GenericFilterTest< Owned >::addFilterToChain().
Definition at line 34 of file GenericFilterTest.cpp.
References ptr.
std::vector<uint8_t> detail::randomBytes | ( | size_t | n | ) |
Definition at line 34 of file HashBenchmark.cpp.
std::vector<uint8_t> detail::benchData = randomBytes(1 << 20) |
Definition at line 42 of file HashBenchmark.cpp.