|
proxygen
|
#include <folly/Format.h>#include <folly/IPAddress.h>#include <glog/logging.h>#include <folly/Benchmark.h>Go to the source code of this file.
Functions | |
| BENCHMARK (ipv4_to_string_inet_ntop, iters) | |
| BENCHMARK_RELATIVE (ipv4_to_fully_qualified, iters) | |
| BENCHMARK_DRAW_LINE () | |
| BENCHMARK (ipv4_to_fully_qualified_port, iters) | |
| BENCHMARK_RELATIVE (ipv4_append_to_fully_qualified_port, iters) | |
| BENCHMARK (ipv6_to_string_inet_ntop, iters) | |
| BENCHMARK_RELATIVE (ipv6_to_fully_qualified, iters) | |
| BENCHMARK (ipv6_to_fully_qualified_port, iters) | |
| BENCHMARK_RELATIVE (ipv6_append_to_fully_qualified_port, iters) | |
| BENCHMARK (ipv6_ctor_valid, iters) | |
| BENCHMARK_RELATIVE (ipv6_ctor_invalid, iters) | |
| BENCHMARK (ipv6_try_from_string_valid, iters) | |
| BENCHMARK_RELATIVE (ipv6_try_from_string_invalid, iters) | |
| int | main (int argc, char *argv[]) |
| BENCHMARK | ( | ipv4_to_string_inet_ntop | , |
| iters | |||
| ) |
Definition at line 27 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), folly::IPAddressV4::toAddr(), and val.
| BENCHMARK | ( | ipv4_to_fully_qualified_port | , |
| iters | |||
| ) |
Definition at line 50 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), folly::sformat(), and folly::IPAddressV4::toFullyQualified().
| BENCHMARK | ( | ipv6_to_string_inet_ntop | , |
| iters | |||
| ) |
Definition at line 74 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), folly::IPAddressV6::toAddr(), and val.
| BENCHMARK | ( | ipv6_to_fully_qualified_port | , |
| iters | |||
| ) |
Definition at line 97 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), folly::sformat(), and folly::IPAddressV6::toFullyQualified().
| BENCHMARK | ( | ipv6_ctor_valid | , |
| iters | |||
| ) |
Definition at line 121 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway().
| BENCHMARK | ( | ipv6_try_from_string_valid | , |
| iters | |||
| ) |
Definition at line 145 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), and folly::IPAddressV6::tryFromString().
| BENCHMARK_DRAW_LINE | ( | ) |
| BENCHMARK_RELATIVE | ( | ipv4_to_fully_qualified | , |
| iters | |||
| ) |
Definition at line 39 of file IPAddressBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), and folly::IPAddressV4::toFullyQualified().
| BENCHMARK_RELATIVE | ( | ipv4_append_to_fully_qualified_port | , |
| iters | |||
| ) |
Definition at line 59 of file IPAddressBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), folly::IPAddressV4::kMaxToFullyQualifiedSize, folly::toAppend(), and folly::IPAddressV4::toFullyQualifiedAppend().
| BENCHMARK_RELATIVE | ( | ipv6_to_fully_qualified | , |
| iters | |||
| ) |
Definition at line 86 of file IPAddressBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), and folly::IPAddressV6::toFullyQualified().
| BENCHMARK_RELATIVE | ( | ipv6_append_to_fully_qualified_port | , |
| iters | |||
| ) |
Definition at line 106 of file IPAddressBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), folly::IPAddressV6::kToFullyQualifiedSize, folly::toAppend(), and folly::IPAddressV6::toFullyQualifiedAppend().
| BENCHMARK_RELATIVE | ( | ipv6_ctor_invalid | , |
| iters | |||
| ) |
Definition at line 132 of file IPAddressBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), and folly::doNotOptimizeAway().
| BENCHMARK_RELATIVE | ( | ipv6_try_from_string_invalid | , |
| iters | |||
| ) |
Definition at line 155 of file IPAddressBenchmark.cpp.
References folly::doNotOptimizeAway(), and folly::IPAddressV6::tryFromString().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |