proxygen
|
#include <folly/Format.h>
#include <glog/logging.h>
#include <folly/Benchmark.h>
#include <folly/FBVector.h>
#include <folly/Utility.h>
#include <folly/dynamic.h>
#include <folly/init/Init.h>
#include <folly/json.h>
Go to the source code of this file.
Functions | |
BENCHMARK (octal_snprintf, iters) | |
BENCHMARK_RELATIVE (octal_uintToOctal, iters) | |
BENCHMARK_DRAW_LINE () | |
BENCHMARK (hex_snprintf, iters) | |
BENCHMARK_RELATIVE (hex_uintToHex, iters) | |
BENCHMARK (intAppend_snprintf) | |
BENCHMARK_RELATIVE (intAppend_to) | |
BENCHMARK_RELATIVE (intAppend_format) | |
template<size_t... Indexes> | |
int | snprintf20Numbers (int i, index_sequence< Indexes... >) |
BENCHMARK (bigFormat_snprintf, iters) | |
template<size_t... Indexes> | |
decltype(auto) | format20Numbers (int i, index_sequence< Indexes... >) |
BENCHMARK_RELATIVE (bigFormat_format, iters) | |
BENCHMARK (format_nested_strings, iters) | |
BENCHMARK_RELATIVE (format_nested_fbstrings, iters) | |
BENCHMARK_RELATIVE (format_nested_direct, iters) | |
BENCHMARK (copy_short_string, iters) | |
BENCHMARK_RELATIVE (format_short_string_unsafe, iters) | |
BENCHMARK_RELATIVE (format_short_string_safe, iters) | |
BENCHMARK_RELATIVE (sformat_short_string_unsafe, iters) | |
BENCHMARK_RELATIVE (sformat_short_string_safe, iters) | |
BENCHMARK (copy_long_string, iters) | |
BENCHMARK_RELATIVE (format_long_string_unsafe, iters) | |
BENCHMARK_RELATIVE (format_long_string_safe, iters) | |
BENCHMARK_RELATIVE (sformat_long_string_unsafe, iters) | |
BENCHMARK_RELATIVE (sformat_long_string_safe, iters) | |
int | main (int argc, char *argv[]) |
BENCHMARK | ( | octal_snprintf | , |
iters | |||
) |
Definition at line 44 of file FormatBenchmark.cpp.
BENCHMARK | ( | hex_snprintf | , |
iters | |||
) |
Definition at line 62 of file FormatBenchmark.cpp.
BENCHMARK | ( | intAppend_snprintf | ) |
Definition at line 78 of file FormatBenchmark.cpp.
References folly::basic_fbstring< E, T, A, Storage >::append(), and i.
BENCHMARK | ( | bigFormat_snprintf | , |
iters | |||
) |
Definition at line 115 of file FormatBenchmark.cpp.
References i, and snprintf20Numbers().
BENCHMARK | ( | format_nested_strings | , |
iters | |||
) |
Definition at line 153 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), folly::format(), and i.
BENCHMARK | ( | copy_short_string | , |
iters | |||
) |
Definition at line 203 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing().
BENCHMARK | ( | copy_long_string | , |
iters | |||
) |
Definition at line 250 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing().
BENCHMARK_DRAW_LINE | ( | ) |
BENCHMARK_RELATIVE | ( | octal_uintToOctal | , |
iters | |||
) |
Definition at line 51 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::detail::kMaxOctalLength, and folly::detail::uintToOctal().
BENCHMARK_RELATIVE | ( | hex_uintToHex | , |
iters | |||
) |
Definition at line 69 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::detail::kMaxHexLength, and folly::detail::uintToHexLower().
BENCHMARK_RELATIVE | ( | intAppend_to | ) |
BENCHMARK_RELATIVE | ( | intAppend_format | ) |
Definition at line 93 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::format(), and i.
BENCHMARK_RELATIVE | ( | bigFormat_format | , |
iters | |||
) |
Definition at line 134 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::BenchmarkSuspender::dismissing(), format20Numbers(), and i.
BENCHMARK_RELATIVE | ( | format_nested_fbstrings | , |
iters | |||
) |
Definition at line 169 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), folly::format(), and i.
BENCHMARK_RELATIVE | ( | format_nested_direct | , |
iters | |||
) |
Definition at line 185 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::BenchmarkSuspender::dismissing(), folly::format(), and i.
BENCHMARK_RELATIVE | ( | format_short_string_unsafe | , |
iters | |||
) |
Definition at line 212 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), and folly::format().
BENCHMARK_RELATIVE | ( | format_short_string_safe | , |
iters | |||
) |
Definition at line 221 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), and folly::format().
BENCHMARK_RELATIVE | ( | sformat_short_string_unsafe | , |
iters | |||
) |
Definition at line 230 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), folly::sformat(), and string.
BENCHMARK_RELATIVE | ( | sformat_short_string_safe | , |
iters | |||
) |
Definition at line 239 of file FormatBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::BenchmarkSuspender::dismissing(), folly::sformat(), and string.
BENCHMARK_RELATIVE | ( | format_long_string_unsafe | , |
iters | |||
) |
Definition at line 259 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), and folly::format().
BENCHMARK_RELATIVE | ( | format_long_string_safe | , |
iters | |||
) |
Definition at line 268 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), and folly::format().
BENCHMARK_RELATIVE | ( | sformat_long_string_unsafe | , |
iters | |||
) |
Definition at line 277 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), folly::sformat(), and string.
BENCHMARK_RELATIVE | ( | sformat_long_string_safe | , |
iters | |||
) |
Definition at line 286 of file FormatBenchmark.cpp.
References folly::BenchmarkSuspender::dismissing(), folly::sformat(), and string.
decltype(auto) format20Numbers | ( | int | i, |
index_sequence< Indexes... > | |||
) |
Definition at line 124 of file FormatBenchmark.cpp.
References folly::format().
Referenced by BENCHMARK_RELATIVE().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 330 of file FormatBenchmark.cpp.
References folly::init(), and folly::runBenchmarks().
int snprintf20Numbers | ( | int | i, |
index_sequence< Indexes... > | |||
) |