llvm-project/libcxx/benchmarks
Samuel Benzaquen 0e6a833e46 Add benchmarks for std::function.
Summary:
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.

Reviewers: EricWF

Subscribers: christof, ldionne, libcxx-commits

Differential Revision: https://reviews.llvm.org/D53087

llvm-svn: 344415
2018-10-12 21:01:15 +00:00
..
CMakeLists.txt Fix linking filesystem benchmarks 2018-10-10 17:46:20 +00:00
CartesianBenchmarks.hpp Add benchmarks for std::function. 2018-10-12 21:01:15 +00:00
ContainerBenchmarks.hpp Update Google Benchmark library 2018-01-18 04:23:01 +00:00
GenerateInput.hpp Implement filesystem NB comments, relative paths, and related issues. 2018-04-02 23:03:41 +00:00
algorithms.bench.cpp Update Google Benchmark library 2018-01-18 04:23:01 +00:00
filesystem.bench.cpp Implement filesystem NB comments, relative paths, and related issues. 2018-04-02 23:03:41 +00:00
function.bench.cpp Add benchmarks for std::function. 2018-10-12 21:01:15 +00:00
string.bench.cpp Add new string benchmarks 2018-07-10 04:11:22 +00:00
stringstream.bench.cpp Add test macros for always_inline and noinline 2018-10-10 18:22:23 +00:00
unordered_set_operations.bench.cpp Add test macros for always_inline and noinline 2018-10-10 18:22:23 +00:00
util_smartptr.bench.cpp Update Google Benchmark library 2018-01-18 04:23:01 +00:00
vector_operations.bench.cpp Update Google Benchmark library 2018-01-18 04:23:01 +00:00