Kind: Function
Source: atloria-monorepo/apps/parser-orchestrator/test/integration/helpers/test-utils.ts
Measure execution time
Signature
tsasync function measureExecutionTime(fn: () => Promise<T>): Promise<{ result: T; duration: number }>
Parameters
| Name | Type |
|---|---|
fn | () => Promise<T> |
Returns: Promise<{ result: T; duration: number }>
Was this page helpful?