proxygen
|
Go to the source code of this file.
Functions | |
void BENCHFUN() | initRNG (size_t, size_t) |
void BENCHFUN() | defaultCtor (size_t iters, size_t) |
void BENCHFUN() | copyCtor (size_t iters, size_t arg) |
void BENCHFUN() | ctorFromArray (size_t iters, size_t arg) |
void BENCHFUN() | ctorFromTwoPointers (size_t iters, size_t arg) |
void BENCHFUN() | ctorFromChar (size_t iters, size_t arg) |
void BENCHFUN() | assignmentOp (size_t iters, size_t arg) |
void BENCHFUN() | assignmentFill (size_t iters, size_t) |
void BENCHFUN() | resize (size_t iters, size_t arg) |
void BENCHFUN() | findSuccessful (size_t iters, size_t) |
void BENCHFUN() | findUnsuccessful (size_t iters, size_t) |
void BENCHFUN() | equality (size_t iters, size_t arg) |
void BENCHFUN() | replace (size_t iters, size_t arg) |
void BENCHFUN() | push_back (size_t iters, size_t arg) |
void BENCHFUN() | short_append (size_t iters, size_t arg) |
void BENCHFUN() | getline (size_t iters, size_t arg) |
void BENCHFUN() assignmentFill | ( | size_t | iters, |
size_t | |||
) |
Definition at line 106 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, s, and STRING.
void BENCHFUN() assignmentOp | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 90 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, randomString(), s, and STRING.
void BENCHFUN() copyCtor | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 37 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, randomString(), s, and STRING.
void BENCHFUN() ctorFromArray | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 49 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, randomString(), s, and STRING.
void BENCHFUN() ctorFromChar | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 82 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, and STRING.
void BENCHFUN() ctorFromTwoPointers | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 64 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, s, and STRING.
void BENCHFUN() defaultCtor | ( | size_t | iters, |
size_t | |||
) |
Definition at line 29 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, s, and STRING.
void BENCHFUN() equality | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 194 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, needle, randomBinaryString(), and STRING.
void BENCHFUN() findSuccessful | ( | size_t | iters, |
size_t | |||
) |
Definition at line 124 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, random(), s, and STRING.
void BENCHFUN() findUnsuccessful | ( | size_t | iters, |
size_t | |||
) |
Definition at line 162 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, s, and STRING.
void BENCHFUN() getline | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 251 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, folly::gen::lines(), randomString(), and STRING.
Referenced by folly::gen::detail::IStreamByLine::apply(), main(), folly::CacheLocality::readFromSysfs(), and TEST().
void BENCHFUN() initRNG | ( | size_t | , |
size_t | |||
) |
This file is supposed to be included from within FBStringTest. Do not use otherwise.
override-include-guard
Definition at line 24 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, and seed.
void BENCHFUN() push_back | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 231 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, FOR_EACH_RANGE, i, s, and STRING.
Referenced by folly::threadlocal_detail::ThreadEntryNode::getThreadEntry(), folly::small_vector< Observer< T > *, InlineObservers >::insert(), folly::basic_fbstring< char >::operator+=(), folly::BasicFixedString< Char, N >::operator+=(), TEST(), folly::sync_tests::testAcquireLocked(), and folly::sync_tests::testAcquireLockedWithConst().
void BENCHFUN() replace | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 211 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, BENCHMARK_SUSPEND, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, random(), randomString(), s, and STRING.
Referenced by folly::basic_fbstring< char >::assign(), testing::internal::edit_distance::CalculateOptimalEdits(), shell_builder.ShellFBCodeBuilder::copy_local_repo(), folly::BasicFixedString< Char, N >::erase(), shell_quoting.ShellQuoted::format(), upload.MercurialVCS::GetBaseFile(), upload.VersionControlSystem::GetBaseFiles(), shell_builder::persistent_temp_dir(), folly::basic_fbstring< char >::replace(), folly::BasicFixedString< Char, N >::replace(), folly::basic_fbstring< E, T, A, Storage >::replaceImplDiscr(), shell_quoting::shell_comment(), shell_quoting::shell_quote(), testing::internal::ShouldRunTestCase(), upload::SplitPatch(), gmock_output_test::ToUnixLineEnding(), and gtest_output_test::ToUnixLineEnding().
void BENCHFUN() resize | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 115 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, folly::doNotOptimizeAway(), FOR_EACH_RANGE, i, random(), s, and STRING.
Referenced by folly::basic_fbstring< E, T, A, Storage >::assign(), folly::basic_fbstring< char >::clear(), folly::basic_fbstring< char >::erase(), folly::basic_fbstring< E, T, A, Storage >::getlineImpl(), folly::basic_fbstring< char >::max_size(), folly::BasicFixedString< Char, N >::resize(), and folly::basic_fbstring< char >::substr().
void BENCHFUN() short_append | ( | size_t | iters, |
size_t | arg | ||
) |
Definition at line 242 of file FBStringTestBenchmarks.cpp.h.
References BENCHFUN, BENCHMARK_PARAM, FOR_EACH_RANGE, i, s, and STRING.