From adb110b8303746d8211c28a38e14b561fd968ce2 Mon Sep 17 00:00:00 2001 From: Bruce Harrison Date: Sun, 14 Jan 2024 15:43:07 -0600 Subject: [PATCH] remove unnecessary measurement --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 96b7440..4af0308 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) {