diff options
Diffstat (limited to 'test/perf-ingest.cpp')
| -rw-r--r-- | test/perf-ingest.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/perf-ingest.cpp b/test/perf-ingest.cpp index c403349..cf0be0d 100644 --- a/test/perf-ingest.cpp +++ b/test/perf-ingest.cpp @@ -18,10 +18,19 @@ namespace { static const WebStat::MockDB mockdb; } + class PerfIngestor : public WebStat::Ingestor { + using Ingestor::Ingestor; + + void + log(int, const char *, ...) const override + { + } + }; + void doIngestFile(benchmark::State & state) { - WebStat::Ingestor ingestor {WebStat::getTestUtsName("perf-hostname"), + PerfIngestor ingestor {WebStat::getTestUtsName("perf-hostname"), std::make_shared<WebStat::MockDBPool>("webstat"), { .userAgentAPI = {}, |
