@@ -54,16 +54,6 @@ void BenchRandom_randrange(benchmark::Bench& bench, RNG&& rng) noexcept
5454 });
5555}
5656
57- template <int RANGE, typename RNG>
58- void BenchRandom_Shuffle (benchmark::Bench& bench, RNG&& rng) noexcept
59- {
60- uint64_t data[RANGE];
61- std::iota (std::begin (data), std::end (data), uint64_t (0 ));
62- bench.batch (RANGE).unit (" number" ).run ([&] {
63- Shuffle (std::begin (data), std::end (data), rng);
64- });
65- }
66-
6757template <int RANGE, typename RNG>
6858void BenchRandom_stdshuffle (benchmark::Bench& bench, RNG&& rng) noexcept
6959{
@@ -81,7 +71,6 @@ void FastRandom_randbits(benchmark::Bench& bench) { BenchRandom_randbits(bench,
8171void FastRandom_randrange100 (benchmark::Bench& bench) { BenchRandom_randrange<100 >(bench, FastRandomContext (true )); }
8272void FastRandom_randrange1000 (benchmark::Bench& bench) { BenchRandom_randrange<1000 >(bench, FastRandomContext (true )); }
8373void FastRandom_randrange1000000 (benchmark::Bench& bench) { BenchRandom_randrange<1000000 >(bench, FastRandomContext (true )); }
84- void FastRandom_Shuffle100 (benchmark::Bench& bench) { BenchRandom_Shuffle<100 >(bench, FastRandomContext (true )); }
8574void FastRandom_stdshuffle100 (benchmark::Bench& bench) { BenchRandom_stdshuffle<100 >(bench, FastRandomContext (true )); }
8675
8776void InsecureRandom_rand64 (benchmark::Bench& bench) { BenchRandom_rand64 (bench, InsecureRandomContext (251438 )); }
@@ -91,7 +80,6 @@ void InsecureRandom_randbits(benchmark::Bench& bench) { BenchRandom_randbits(ben
9180void InsecureRandom_randrange100 (benchmark::Bench& bench) { BenchRandom_randrange<100 >(bench, InsecureRandomContext (251438 )); }
9281void InsecureRandom_randrange1000 (benchmark::Bench& bench) { BenchRandom_randrange<1000 >(bench, InsecureRandomContext (251438 )); }
9382void InsecureRandom_randrange1000000 (benchmark::Bench& bench) { BenchRandom_randrange<1000000 >(bench, InsecureRandomContext (251438 )); }
94- void InsecureRandom_Shuffle100 (benchmark::Bench& bench) { BenchRandom_Shuffle<100 >(bench, InsecureRandomContext (251438 )); }
9583void InsecureRandom_stdshuffle100 (benchmark::Bench& bench) { BenchRandom_stdshuffle<100 >(bench, InsecureRandomContext (251438 )); }
9684
9785} // namespace
@@ -103,7 +91,6 @@ BENCHMARK(FastRandom_randbits, benchmark::PriorityLevel::HIGH);
10391BENCHMARK (FastRandom_randrange100, benchmark::PriorityLevel::HIGH);
10492BENCHMARK (FastRandom_randrange1000, benchmark::PriorityLevel::HIGH);
10593BENCHMARK (FastRandom_randrange1000000, benchmark::PriorityLevel::HIGH);
106- BENCHMARK (FastRandom_Shuffle100, benchmark::PriorityLevel::HIGH);
10794BENCHMARK (FastRandom_stdshuffle100, benchmark::PriorityLevel::HIGH);
10895
10996BENCHMARK (InsecureRandom_rand64, benchmark::PriorityLevel::HIGH);
@@ -113,5 +100,4 @@ BENCHMARK(InsecureRandom_randbits, benchmark::PriorityLevel::HIGH);
113100BENCHMARK (InsecureRandom_randrange100, benchmark::PriorityLevel::HIGH);
114101BENCHMARK (InsecureRandom_randrange1000, benchmark::PriorityLevel::HIGH);
115102BENCHMARK (InsecureRandom_randrange1000000, benchmark::PriorityLevel::HIGH);
116- BENCHMARK (InsecureRandom_Shuffle100, benchmark::PriorityLevel::HIGH);
117103BENCHMARK (InsecureRandom_stdshuffle100, benchmark::PriorityLevel::HIGH);
0 commit comments