The current benchmark is incredibly slow to run. This patch refactors the benchmark to be faster and also adds an equivalent benchmark for `std::upper_bound`. Fixes #177026
The current benchmark is incredibly slow to run. This patch refactors the benchmark to be faster and also adds an equivalent benchmark for `std::upper_bound`. Fixes #177026