llvm-project
1d319dfe - [libc++] Implement generic associative container benchmarks (#123663)

Commit
1 year ago
[libc++] Implement generic associative container benchmarks (#123663) This patch implements generic associative container benchmarks for containers with unique keys. In doing so, it replaces the existing std::map benchmarks which were based on the cartesian product infrastructure and were too slow to execute. These new benchmarks aim to strike a balance between exhaustive coverage of all operations in the most interesting case, while executing fairly rapidly (~40s on my machine). This bumps the requirement for the map benchmarks from C++17 to C++20 because the common header that provides associative container benchmarks requires support for C++20 concepts.
Author
Parents
Loading