What is the DRYest way to benchmark against several matrices using the ruby Benchmark stdlib or an equivalent gem? For instance, if I was benchmarking some SQL, I might want to try all combinations of sets of table size, various queries, number of queries, etc.
What is the DRYest way to benchmark against several matrices using the ruby Benchmark
Share
Output: