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

Class SortRunner

cpp/src/arrow/compute/kernels/vector_sort_benchmark.cc:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39//
40
41struct SortRunner {
42 explicit SortRunner(benchmark::State&) {}
43
44 Status operator()(const std::shared_ptr<Array>& values) const {
45 return SortIndices(*values).status();
46 }
47 Status operator()(const std::shared_ptr<ChunkedArray>& values) const {
48 return SortIndices(*values).status();
49 }
50};
51
52struct RankRunner {
53 explicit RankRunner(benchmark::State& state) {

Calls

no outgoing calls

Tested by

no test coverage detected