proxygen
|
#include <folly/String.h>
#include <boost/algorithm/string.hpp>
#include <folly/Benchmark.h>
#include <folly/Random.h>
#include <random>
Go to the source code of this file.
Functions | |
BENCHMARK (libc_tolower, iters) | |
BENCHMARK (folly_toLowerAscii, iters) | |
void | stringPrintfOutputSize (int iters, int param) |
BENCHMARK (stringPrintfAppendfBenchmark, iters) | |
BENCHMARK (splitOnSingleChar, iters) | |
BENCHMARK (splitOnSingleCharFixed, iters) | |
BENCHMARK (splitOnSingleCharFixedAllowExtra, iters) | |
BENCHMARK (splitStr, iters) | |
BENCHMARK (splitStrFixed, iters) | |
BENCHMARK (boost_splitOnSingleChar, iters) | |
BENCHMARK (joinCharStr, iters) | |
BENCHMARK (joinStrStr, iters) | |
BENCHMARK (joinInt, iters) | |
int | main (int argc, char **argv) |
BENCHMARK | ( | libc_tolower | , |
iters | |||
) |
BENCHMARK | ( | folly_toLowerAscii | , |
iters | |||
) |
BENCHMARK | ( | stringPrintfAppendfBenchmark | , |
iters | |||
) |
Definition at line 82 of file StringBenchmark.cpp.
References folly::BENCHMARK(), BENCHMARK_SUSPEND, c, folly::doNotOptimizeAway(), encode(), folly::hexlify(), i, folly::gen::detail::passthrough(), folly::basic_fbstring< E, T, A, Storage >::push_back(), folly::basic_fbstring< E, T, A, Storage >::reserve(), folly::basic_fbstring< E, T, A, Storage >::resize(), s, folly::Random::secureRandom(), folly::Range< Iter >::size(), folly::basic_fbstring< E, T, A, Storage >::size(), string, folly::stringAppendf(), folly::Range< Iter >::subpiece(), uint32_t, and folly::unhexlify().
BENCHMARK | ( | splitOnSingleChar | , |
iters | |||
) |
Definition at line 207 of file StringBenchmark.cpp.
References i, folly::split(), and string.
BENCHMARK | ( | splitOnSingleCharFixed | , |
iters | |||
) |
Definition at line 215 of file StringBenchmark.cpp.
References a, b, c, i, folly::split(), and string.
BENCHMARK | ( | splitOnSingleCharFixedAllowExtra | , |
iters | |||
) |
BENCHMARK | ( | splitStr | , |
iters | |||
) |
Definition at line 231 of file StringBenchmark.cpp.
References i, folly::split(), and string.
BENCHMARK | ( | splitStrFixed | , |
iters | |||
) |
Definition at line 239 of file StringBenchmark.cpp.
References a, b, c, i, folly::split(), and string.
BENCHMARK | ( | boost_splitOnSingleChar | , |
iters | |||
) |
Definition at line 247 of file StringBenchmark.cpp.
References c, i, folly::gen::split(), and string.
BENCHMARK | ( | joinCharStr | , |
iters | |||
) |
Definition at line 256 of file StringBenchmark.cpp.
References i, folly::join(), gmock_output_test::output, and string.
BENCHMARK | ( | joinStrStr | , |
iters | |||
) |
Definition at line 265 of file StringBenchmark.cpp.
References i, folly::join(), gmock_output_test::output, and string.
BENCHMARK | ( | joinInt | , |
iters | |||
) |
Definition at line 274 of file StringBenchmark.cpp.
References i, folly::join(), gmock_output_test::output, and string.
int main | ( | int | argc, |
char ** | argv | ||
) |
void stringPrintfOutputSize | ( | int | iters, |
int | param | ||
) |
Definition at line 59 of file StringBenchmark.cpp.
References BENCHMARK_PARAM, BENCHMARK_SUSPEND, buffer(), i, int64_t, s, and folly::stringPrintf().