[PATCH] D53087: Add benchmarks for std::function.
Samuel Benzaquen via Phabricator
reviews at reviews.llvm.org
Wed Oct 10 08:54:12 PDT 2018
sbenza created this revision.
sbenza added a reviewer: EricWF.
Herald added subscribers: libcxx-commits, ldionne, christof.
Benchmarks for construct, copy, move, swap, destroy and invoke, with 8
different input states.
For the cases that matter, it tests with and without allowing constant
value propagation from construction into the operation tested.
This also adds helper functions to generate the cartesian product of
different configurations and generate benchmarks for all of them.
Repository:
rCXX libc++
https://reviews.llvm.org/D53087
Files:
benchmarks/CartesianBenchmarks.hpp
benchmarks/function.bench.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53087.169022.patch
Type: text/x-patch
Size: 9809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181010/3cff71d1/attachment-0001.bin>
More information about the libcxx-commits
mailing list