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

Method SetUp

cpp/src/arrow/filesystem/localfs_benchmark.cc:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51class LocalFSFixture : public benchmark::Fixture {
52 public:
53 void SetUp(const benchmark::State& state) override {
54 ASSERT_OK_AND_ASSIGN(tmp_dir_, TemporaryDir::Make("localfs-test-"));
55
56 auto options = LocalFileSystemOptions::Defaults();
57 fs_ = std::make_unique<LocalFileSystem>(options);
58
59 InitializeDatasetStructure(0, tmp_dir_->path());
60 }
61
62 void InitializeDatasetStructure(size_t cur_nesting_level,
63 arrow::internal::PlatformFilename cur_root_dir) {

Callers

nothing calls this directly

Calls 4

ASSERT_OK_AND_ASSIGNFunction · 0.70
MakeFunction · 0.50
DefaultsFunction · 0.50
pathMethod · 0.45

Tested by

no test coverage detected