Skip to content

Commit c8e8eeb

Browse files
author
Raghuveer Devulapalli
committed
Add benchmarks for small arrays
1 parent 42c672f commit c8e8eeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

benchmarks/bench-qsort-common.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
})))
2020

2121
#define BENCH(func, type) \
22+
MY_BENCHMARK_CAPTURE(func, type, smallrandom_128, 128, std::string("random")); \
23+
MY_BENCHMARK_CAPTURE(func, type, smallrandom_256, 256, std::string("random")); \
24+
MY_BENCHMARK_CAPTURE(func, type, smallrandom_512, 512, std::string("random")); \
25+
MY_BENCHMARK_CAPTURE(func, type, smallrandom_1k, 1024, std::string("random")); \
2226
MY_BENCHMARK_CAPTURE(func, type, random_5k, 5000, std::string("random")); \
2327
MY_BENCHMARK_CAPTURE( \
2428
func, type, random_100k, 100000, std::string("random")); \

0 commit comments

Comments
 (0)