Skip to content

Commit

Permalink
Turn on memory mapping for benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Dec 17, 2024
1 parent 6fb0d97 commit f70a7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/Database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit f70a7e9

Please sign in to comment.