| 127 | |
| 128 | template <Compression::type COMPRESSION> |
| 129 | static void ReferenceStreamingCompression( |
| 130 | benchmark::State& state) { // NOLINT non-const reference |
| 131 | auto data = MakeCompressibleData(8 * 1024 * 1024); // 8 MB |
| 132 | |
| 133 | StreamingCompression(COMPRESSION, data, state); |
| 134 | } |
| 135 | |
| 136 | int64_t Compress(Codec* codec, const std::vector<uint8_t>& data, |
| 137 | std::vector<uint8_t>* compressed_data) { |
nothing calls this directly
no test coverage detected