HomePhabricator

Add benchmarks for std::function.

Description

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

Details

Committed
sbenzaOct 12 2018, 2:01 PM
Differential Revision
D53087: Add benchmarks for std::function.
Parents
rL344414: Add NativePDB subdir again.
Branches
Unknown
Tags
Unknown