MCPcopy Create free account
hub / github.com/ElementsProject/elements / main

Function main

src/leveldb/db/db_test.cc:2292–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2290} // namespace leveldb
2291
2292int main(int argc, char** argv) {
2293 if (argc > 1 && std::string(argv[1]) == "--benchmark") {
2294 leveldb::BM_LogAndApply(1000, 1);
2295 leveldb::BM_LogAndApply(1000, 100);
2296 leveldb::BM_LogAndApply(1000, 10000);
2297 leveldb::BM_LogAndApply(100, 100000);
2298 return 0;
2299 }
2300
2301 return leveldb::test::RunAllTests();
2302}

Callers

nothing calls this directly

Calls 2

BM_LogAndApplyFunction · 0.85
RunAllTestsFunction · 0.85

Tested by

no test coverage detected