| 172 | |
| 173 | #ifdef ARROW_WITH_LZ4 |
| 174 | static void CompressedInputArguments(::benchmark::internal::Benchmark* b) { |
| 175 | b->ArgNames({"num_bytes", "batch_size"}) |
| 176 | ->Args({8 * 1024, 8 * 1024}) |
| 177 | ->Args({64 * 1024, 8 * 1024}) |
| 178 | ->Args({64 * 1024, 64 * 1024}) |
| 179 | ->Args({1024 * 1024, 8 * 1024}) |
| 180 | ->Args({1024 * 1024, 64 * 1024}) |
| 181 | ->Args({1024 * 1024, 1024 * 1024}); |
| 182 | } |
| 183 | |
| 184 | // Benchmark LZ4 because it's lightweight, which makes benchmarking focused on the |
| 185 | // overhead of the compression input stream. |
nothing calls this directly
no outgoing calls
no test coverage detected