From dba87a18dc3eb9d4d09a0585f4148670685519de Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 22 Sep 2026 16:07:10 +0100 Subject: [PATCH] Clarify elapsed-time helper documentation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 456cd7c3d..d74e07fa8 100644 --- a/src/util.ts +++ b/src/util.ts @@ -682,7 +682,7 @@ export async function bundleDb( return databaseBundlePath; } -/** Returns the elapsed milliseconds, rounded, since a `performance.now()` timestamp. */ +/** Returns the elapsed milliseconds, rounded, since `startTime` was recorded with `performance.now()`. */ export function durationMsSince(startTime: number): number { return Math.round(performance.now() - startTime); }