From f70a7e9ef101e86ab26b41d075bd7877fbefb555 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Tue, 17 Dec 2024 12:39:06 +0100 Subject: [PATCH] Turn on memory mapping for benchmarking --- example/src/Database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/Database.ts b/example/src/Database.ts index 55f6b006..f4dc5ce9 100644 --- a/example/src/Database.ts +++ b/example/src/Database.ts @@ -60,7 +60,7 @@ export async function querySingleRecordOnLargeDB() { export async function queryLargeDB() { let largeDb = open(DB_CONFIG); - // largeDb.execute('PRAGMA mmap_size=268435456'); + largeDb.execute('PRAGMA mmap_size=268435456'); let times: { loadFromDb: number[];