Skip to content

Commit dba87a1

Browse files
henrymercerCopilot
andcommitted
Clarify elapsed-time helper documentation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 06344e2 commit dba87a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/util.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ export async function bundleDb(
682682
return databaseBundlePath;
683683
}
684684

685-
/** Returns the elapsed milliseconds, rounded, since a `performance.now()` timestamp. */
685+
/** Returns the elapsed milliseconds, rounded, since `startTime` was recorded with `performance.now()`. */
686686
export function durationMsSince(startTime: number): number {
687687
return Math.round(performance.now() - startTime);
688688
}

0 commit comments

Comments
 (0)