MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / RunNoneTs

Function RunNoneTs

src/codec/codec_bench_test.cc:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void RunNoneTs(::fedb::storage::DataBlock* db) {
51 std::vector<::fedb::base::Slice> datas;
52 datas.reserve(1000);
53 uint32_t total_block_size = 0;
54 for (uint32_t i = 0; i < 1000; i++) {
55 datas.push_back(::fedb::base::Slice(db->data, db->size));
56 total_block_size += db->size;
57 }
58 std::string pairs;
59 ::fedb::codec::EncodeRows(datas, total_block_size, &pairs);
60}
61
62TEST_F(CodecBenchmarkTest, ProjectTest) {
63 Schema schema;

Callers 1

TEST_FFunction · 0.85

Calls 2

EncodeRowsFunction · 0.85
SliceClass · 0.50

Tested by

no test coverage detected