commit 34d7d1bfdaf328171810834234bcacd72a53d29c
parent 834869a6d98e7d4c412dd84cc0eacf23f3abb164
Author: William Casarin <jb55@jb55.com>
Date: Fri, 22 Sep 2023 14:43:35 -0400
bench: fix build
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bench-ingest-many.c b/bench-ingest-many.c
@@ -37,7 +37,7 @@ static int bench_parser()
mapsize = 1024ULL * 1024ULL * 400ULL * 10ULL;
ingester_threads = 8;
- assert(ndb_init(&ndb, "testdata/db", mapsize, ingester_threads));
+ assert(ndb_init(&ndb, "testdata/db", mapsize, ingester_threads, 0));
const char *filename = "testdata/many-events.json";
if (!map_file(filename, (unsigned char**)&json, &written)) {
printf("mapping testdata/many-events.json failed\n");
diff --git a/bench-ingest.c b/bench-ingest.c
@@ -19,7 +19,7 @@ static int bench_parser(int times)
written = 0;
mapsize = 1024 * 1024 * 100;
ingester_threads = 8;
- assert(ndb_init(&ndb, "testdata/db", mapsize, ingester_threads));
+ assert(ndb_init(&ndb, "testdata/db", mapsize, ingester_threads, 0));
read_file("testdata/contacts-event.json", (unsigned char*)json, alloc_size, &written);
clock_gettime(CLOCK_MONOTONIC, &t1);