Skip to content

Commit

Permalink
Tested some more bits
Browse files Browse the repository at this point in the history
  • Loading branch information
QSmally committed Aug 14, 2020
1 parent 12ec024 commit 0038f71
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Test/Benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ const Guilds = new QDB.Connection("Test/Guilds.qdb", {
// Cache: false
});

// START READ TIME
console.log(Guilds.Exists());
// TESTS
console.log(Guilds.Exists("9_k84ezszmof"));
console.log(Guilds.Exists("9_k84ezszmof.foo"));
console.log(Guilds.Exists("9_k84ezszmof.doesNotExist"));
Guilds.Disconnect();

// START READ TIME
// const Indexes = Guilds.Indexes;

// console.time("time-for-million-reads");
Expand All @@ -22,6 +26,7 @@ Guilds.Disconnect();
// // console.timeEnd("per-fetch");
// }

// // console.log(Guilds.Cache);
// console.log(`cache size: ${Guilds.CacheSize}`);
// console.timeEnd("time-for-million-reads");
// console.log(`memory usage: ${process.memoryUsage().heapUsed / 1024 / 1024} MB`);
Expand Down

0 comments on commit 0038f71

Please sign in to comment.