MCPcopy Create free account
hub / github.com/apache/arrow / ReferenceStreamingCompression

Function ReferenceStreamingCompression

cpp/src/arrow/util/compression_benchmark.cc:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128template <Compression::type COMPRESSION>
129static 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
136int64_t Compress(Codec* codec, const std::vector<uint8_t>& data,
137 std::vector<uint8_t>* compressed_data) {

Callers

nothing calls this directly

Calls 2

StreamingCompressionFunction · 0.85
MakeCompressibleDataFunction · 0.70

Tested by

no test coverage detected