Skip to content

Commit

Permalink
remove unnecessary measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceharrison1984 committed Jan 14, 2024
1 parent 5d9d480 commit adb110b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {

const d1_insert_and_propagate = await measureTime(async () => {
const id = crypto.randomUUID();
await measureTime(async () => await env.DB.exec(`INSERT INTO benchmark (NAME) VALUES ('${id}')`));
await env.DB.exec(`INSERT INTO benchmark (NAME) VALUES ('${id}')`);

let result = null;
while (!result) {
Expand Down

0 comments on commit adb110b

Please sign in to comment.