74 std::unique_ptr<IOBuf> buf = IOBuf::createChain(100, 10);
83 std::unique_ptr<IOBuf> buf = IOBuf::createChain(100, 10);
106 gflags::ParseCommandLineFlags(&argc, &argv,
true);
BENCHMARK(cloneOneBenchmark, iters)
constexpr detail::Map< Move > move
void cloneOneInto(IOBuf &other) const
std::unique_ptr< IOBuf > clone() const
void cloneInto(IOBuf &other) const
std::size_t capacity() const
constexpr std::decay< T >::type copy(T &&value) noexcept(noexcept(typename std::decay< T >::type(std::forward< T >(value))))
BENCHMARK_RELATIVE(cloneCoalescedBenchmark, iters)
IOBuf cloneAsValue() const
std::unique_ptr< IOBuf > cloneOne() const
int main(int argc, char **argv)
IOBuf cloneCoalescedAsValue() const
auto doNotOptimizeAway(const T &datum) -> typename std::enable_if< !detail::DoNotOptimizeAwayNeedsIndirect< T >::value >::type