| 999 | } |
| 1000 | |
| 1001 | static void ByteArrayDeltaCustomArguments(benchmark::internal::Benchmark* b) { |
| 1002 | for (int max_string_length : {8, 64, 1024}) { |
| 1003 | for (int batch_size : {512, 2048}) { |
| 1004 | for (int prefixed_percent : {10, 90, 99}) { |
| 1005 | b->Args({max_string_length, batch_size, prefixed_percent}); |
| 1006 | } |
| 1007 | } |
| 1008 | } |
| 1009 | b->ArgNames({"max-string-length", "batch-size", "prefixed-percent"}); |
| 1010 | } |
| 1011 | |
| 1012 | BENCHMARK(BM_DeltaEncodingByteArray)->Apply(ByteArrayDeltaCustomArguments); |
| 1013 | BENCHMARK(BM_DeltaDecodingByteArray)->Apply(ByteArrayDeltaCustomArguments); |
nothing calls this directly
no outgoing calls
no test coverage detected