Benchmark for different types of C++ collection loops. The benchmark uses C++23 and is based on Google Benchmark framework.
Build:
cmake -B build -S .
cmake --build build
Run:
build/collection_loop_benchmark --benchmark_min_warmup_time=2 --benchmark_min_time=2s --benchmark_repetitions=3