proxygen
|
Go to the source code of this file.
Functions | |
BENCHMARK (cloneOneBenchmark, iters) | |
BENCHMARK (cloneOneIntoBenchmark, iters) | |
BENCHMARK (cloneBenchmark, iters) | |
BENCHMARK (cloneIntoBenchmark, iters) | |
BENCHMARK (moveBenchmark, iters) | |
BENCHMARK (copyBenchmark, iters) | |
BENCHMARK (cloneCoalescedBaseline, iters) | |
BENCHMARK_RELATIVE (cloneCoalescedBenchmark, iters) | |
int | main (int argc, char **argv) |
BENCHMARK | ( | cloneOneBenchmark | , |
iters | |||
) |
Definition at line 22 of file IOBufBenchmark.cpp.
References folly::IOBuf::cloneOne(), folly::copy(), CREATE, and folly::doNotOptimizeAway().
BENCHMARK | ( | cloneOneIntoBenchmark | , |
iters | |||
) |
Definition at line 30 of file IOBufBenchmark.cpp.
References folly::IOBuf::capacity(), folly::IOBuf::cloneOneInto(), folly::copy(), CREATE, and folly::doNotOptimizeAway().
BENCHMARK | ( | cloneBenchmark | , |
iters | |||
) |
Definition at line 39 of file IOBufBenchmark.cpp.
References folly::IOBuf::clone(), folly::copy(), CREATE, and folly::doNotOptimizeAway().
BENCHMARK | ( | cloneIntoBenchmark | , |
iters | |||
) |
Definition at line 47 of file IOBufBenchmark.cpp.
References folly::IOBuf::capacity(), folly::IOBuf::cloneInto(), folly::copy(), CREATE, and folly::doNotOptimizeAway().
BENCHMARK | ( | moveBenchmark | , |
iters | |||
) |
Definition at line 56 of file IOBufBenchmark.cpp.
References CREATE, folly::doNotOptimizeAway(), and folly::gen::move.
BENCHMARK | ( | copyBenchmark | , |
iters | |||
) |
Definition at line 65 of file IOBufBenchmark.cpp.
References folly::copy(), CREATE, and folly::doNotOptimizeAway().
BENCHMARK | ( | cloneCoalescedBaseline | , |
iters | |||
) |
Definition at line 73 of file IOBufBenchmark.cpp.
References folly::IOBuf::cloneAsValue(), folly::IOBuf::coalesce(), and folly::doNotOptimizeAway().
BENCHMARK_RELATIVE | ( | cloneCoalescedBenchmark | , |
iters | |||
) |
Definition at line 82 of file IOBufBenchmark.cpp.
References folly::IOBuf::cloneCoalescedAsValue(), folly::copy(), and folly::doNotOptimizeAway().
int main | ( | int | argc, |
char ** | argv | ||
) |
============================================================================
cloneOneBenchmark 49.03ns 20.39M cloneOneIntoBenchmark 26.36ns 37.93M cloneBenchmark 49.43ns 20.23M cloneIntoBenchmark 30.03ns 33.30M moveBenchmark 15.35ns 65.14M copyBenchmark 33.63ns 29.73M cloneCoalescedBaseline 344.33ns 2.90M
Definition at line 105 of file IOBufBenchmark.cpp.
References folly::runBenchmarks().