| 2290 | } // namespace leveldb |
| 2291 | |
| 2292 | int 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 | } |
nothing calls this directly
no test coverage detected